How To Improve The Data Display In Android Sdk


show more Improving the data display provides you with in-depth training on Developer. Taught by David Gassner as part of the Android SDK: Local Data Storage show less
please wait ...

Improving the data display

The sample application I've been developing throughout this course displays data that's stored in a SQLite database. Each item in the list display displays simple plain text all of the same size. I'm going to show you some ideas about how you can spiff up the display and dynamically select graphics at runtime to display. I'm working in a version of the project that's available in the exercise files named RichDisplay. I've added some layout resources and a new Java class. I've also added some graphics that will be displayed along with the tour data.

I'll start with the new layout. I'll go to the resources folder to the layout subfolder and open the file listitem_tour.xml. This is a rich layout that's designed to display a map icon and then the title and the price of the current tour. Looking at the XML structure, it's a linear layout that contains an image view. There's a default graphic called map_various. It's just a simple picture of the map of C...

Improving the data display
Video duration: 9m 29s 3h 41m Intermediate

Viewers:

Improving the data display provides you with in-depth training on Developer. Taught by David Gassner as part of the Android SDK: Local Data Storage

Subject:
Developer
Software:
Android Java
Author:
please wait ...