O'Reilly logo

Android How to Program by Paul Deitel, Abbey Deitel, Harvey Deitel

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

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

4.1 Introduction

4.2 Test-Driving ...

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