O'Reilly logo

Android User Interface Development by Jason Morris

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

Time for action - developing the main user interface layout

Having built the layout resource file that will become track items in a list later, we now need to define the remaining elements of this user interface. While this structure is relatively simple, it's also very easily extended and has a few minor details that keep it looking really good. It also needs some Java code in order to be correctly populated, but we'll get into that after we've finished with the resource file.

Time for action - developing the main user interface layout
  1. Create or open the res/layout/main.xml file in the new project.
  2. The root element of the main layout needs to be a ScrollView in order to handle the possibility that the interface ...

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