Adding buttons

We are going to place our buttons within a HorizontalArrangement component. Drag it from the same place you found VerticalArrangement (the Layout drawer drawer) and drop it underneath VerticalArrangment that currently exist on the Viewer. You can double-check that HorizontalArrangement is indeed below and not within VerticalArrangement by seeing that their names align in the Components panel column, as shown in the following screenshot. The list of components shows that Pool_Party_Message is indented so that it is indeed within the VerticalArrangement1 component, but HorizontalArrangement1 is not. Next, set the properties for HorizontalArrangement1 to match those indicated in the following screenshot:

Go to the User Interface palette, ...

Get App Inventor 2 Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.