4. Tip Calculator App
Objectives
In this chapter you’ll:
• Design a GUI using a TableLayout
.
• Use the ADT Plugin’s Outline window in Eclipse to add GUI components to a TableLayout
.
• Directly edit the XML of a GUI layout to customize properties that are not available through the Visual Layout Editor and Properties window in Eclipse.
• Use TextView
, EditText
and SeekBar
GUI components.
• Use Java object-oriented programming capabilities, including classes, anonymous inner classes, objects, interfaces and inheritance to create an Android app.
• Programmatically interact with GUI components to change the text that they display.
• Use event handling to respond to user interactions with an EditText
and a SeekBar
.
Outline
Get Android How to Program now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.