Page 90 - KEC Khaitan C5 Flipbook
P. 90

CANVAS RESPONSIVENESS WITH UI COMPONENTS

                  When designing an app using MIT App Inventor, ensuring that the Canvas component is
                  responsive allows it to adapt well to different screen sizes, orientations, and UI elements
                  such as buttons, sliders, labels, and arrangements.

                  A responsive Canvas is essential for games, drawing apps, and interactive applications
                  where users interact with objects on the screen.

                  Now, perform the following steps to design a Magic Touch Ball app:

                  Step  1   Create new project in the MIT App Inventor.
                  Step  2   Change the name of the screen to Magic Touch Ball in the Title textbox in the

                            Properties pane.





























                  Step  3   Drag and drop Canvas from Drawing and Animation palette to the workspace.

                  Step  4   Specify height and width of the canvas to Fill Parent.






























                   88   Premium Edition-V
   85   86   87   88   89   90   91   92   93   94   95