4. Tip Calculator App: Building an Android App with Java

Image

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

Get Android™ for Programmers: An App-Driven Approach 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.