Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Objectives
In this chapter you’ll:
• Enable users to interact with an app via Buttons.
• Use a ScrollView to display objects that do not fit on the screen.
• Create GUI components dynamically in response to user interactions by inflating an XML layout.
• Store key/value pairs of data associated with an app using SharedPreferences.
• Modify key/value pairs of data associated with an app using SharedPreferences.Editor.
• Create AlertDialogs with an AlertDialog.Builder.
• Programmatically open a website in a web browser by using an Intent.
• Programmatically hide the soft keyboard.
• Learn about the file AndroidManifest.xml.