Screen: Hello World!

104 views
Skip to first unread message

Scott Ferguson

unread,
Sep 28, 2012, 5:17:50 PM9/28/12
to

The Screen component is the container for the app in App Inventor. It can execute blocks when the app starts, sense an orientation change of the device and display a Title for the app among other features.

In this exercise we will have the app screen display a welcome message in the title bar.

Create a new project named lrn_scn_hello.


Screen Designer:

Change Screen1's Title property to Hello World!.

Now test the project with the emulator or your connected device.

The screen should have your new title:



Challenge: Set BackgroundColor to Dark Gray. Press Ctrl+F11 in the emulator or rotate the connected device. What happens? What happens if you change the ScreenOrientation to Landscape and try to rotate the emulator or device? 
Reply all
Reply to author
Forward
0 new messages