Join David Gassner for an in-depth discussion in this video Improving the data display, part of Android SDK: Local Data Storage.
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 California.…
Then next to it, there's another linear layout, this time with an orientation of…
- Exploring local data storage options
- Creating an Android virtual device
- Starting a new project
- Defining preferences with Java and activities
- Creating and reading JSON and XML data files
- Creating a new SQLite database
- Inserting and retrieving data in the database
Skill Level Intermediate
1. Getting Started
2. Using Application Preferences
3. Using Internal and External File Storage
4. Working with SQLite Databases
5. Managing and Displaying SQLite Data
Improving the data display9m 29s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.