O'Reilly logo

Android Essentials by Chris Haseman

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 3: User Interface

In Soviet Google, the Interface Renders You

In the scrum of mobile UI development architectures, Android's rises to the top. If you have some mobile experience, you'll find it to be a happy union of Java ME's Canvas/Screen object and the BREW widget hierarchy, with some XML layout tools to boot. Each activity, as it's launched from within your application, is placed on a screen stack. Android is already configured to handle closing down the top activity and activating the one under it when you ask or when the user presses Back. This setup allows you to think of every activity as the base for a single screen.

Each activity may contain different views and view groups in a hierarchical tree. You can visualize this tree ...

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