O'Reilly logo

Android Application Development For Dummies, 2nd Edition by Donn Felker, Michael Burton

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

Chapter 4

Designing the User Interface

In This Chapter

arrow Setting up the Silent Mode Toggle application

arrow Designing the layout

arrow Developing the user interface

arrow Adding an image and a button widget

arrow Making a launcher icon

arrow Previewing your work

In Chapter 3, you discover what Android is and how to build your first application. This chapter helps you delve into the fun stuff: building a real application and publishing it to the Google Play Store.

The application you build in this chapter allows the user to toggle the ringer mode on the phone by simply pressing a button. This application seems simple, but it solves a real-world problem.

Imagine that you’re at work and you’re about to go to a meeting. You can turn down the volume on your phone to silence it and then attend the meeting. (You wouldn’t want to be the one whose phone always rings during a meeting, would you?) The problem is that you like ...

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