O'Reilly logo

Android™ 3 SDK Programming For Dummies® by Rajiv Ramnath

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 5

Designing a User-Friendly Application

In This Chapter

  • Introducing View, the base class of all widgets
  • Understanding Android support for graphical user interface (GUI) layouts
  • Recognizing the relationship between XML layout files and Android classes
  • Understanding key layout classes
  • Creating good user interfaces

The computer, including the smartphone and similar devices (such as the tablet), is now an integral part of society. Users have little tolerance for poor or complicated user interfaces. A user's view of the computer isn't the same as your — the developer's — view. Users don't want to — and shouldn't have to — focus on the computer's CPU, network card, memory usage, or any other component.

The success of your Android application depends significantly on its ease of use. The interaction between human and computer is a widely studied field, with many textbooks and research papers written on the subject. Though we can't cover all elements and issues that govern the creation of a good user interface, we discuss specific design choices and rules of thumb and provide a detailed overview of the support that Android provides for user interaction.

This chapter focuses on the elements, such as buttons, in a traditional, two-dimensional (2D) graphical user interface (GUI) and traditional interaction techniques, such as clicking and typing.

image Chapter 6 covers 2D drawing support. ...

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