#3 App Inventor Refresh Button #3

Challenge: Add a Refresh Button

See the refresh button on the left

Challenge

Add a Button component to the App, placing it inside the HorizontalArrangement component, to the left of the Textbox, as shown in the screenshot. Its width should be set to Automatic.

Add a Button component to the App, placing it inside the HorizontalArrangement component, to the left of the Textbox, as shown in the screenshot. Its width should be set to Automatic.

Give the button an appropriate name and set its Text property to an appropriate value.

Code the refresh button so that when clicked the WebViewer goes back to the home page. (Hint: Explore the WebViewer's blocks drawer for ideas.)

Test your app on your device or emulator to make sure it works properly.

When done, create a new checkpoint for your app.

Credits:

Created with images by indi.ca - "Android Droid" • jonlclark - "Google Droid Robots at Creative Sandbox" • claudia.rahanmetan - "Android Domination"

Made with Adobe Slate

Make your words and images move.

Get Slate

Report Abuse

If you feel that this video content violates the Adobe Terms of Use, you may report this content by filling out this quick form.

To report a Copyright Violation, please follow Section 17 in the Terms of Use.