O'Reilly logo

App Inventor 2 Essentials by Krishnendu Roy, Felicia Kamriani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required