Join David Gassner for an in-depth discussion in this video Customizing the appearance of list items, part of Building a Note-Taking App for Android (2013).
- View Offline
My note taking apps list activity is correct displaying data from persistent…data storage. But I'd like to customize the appearance…of each list item. I'd like to add a visual icon to the right…of the text that gives the user a visual indicator that they're suppose to touch…the item to edit it. First, I need to create a graphical icon.…And I need to create a number of different sizes for various pixel densities.…So, I'll go back to the Android Asset Studio.…The same tool that I used to create my launcher icons.…
I'll go to the generic icons screen. You can create generic icons from your own…image, from clip art, or from text. I'll choose clip art.…Then I'll scroll down and I'll choose an Edit icon, a picture of a pencil.…Some designers prefer a right pointing carrot for this kind of icon to indicate…that you'll be going from screen to screen, but I'm being very specific in my…design. I'm saying when you touch this item,…you'll be editing it. After I select the graphic, I'll scroll…down a bit, and I'll change the size of the graphic.…
Like its companions, this course will take you through building a complete mobile app from scratch; but this installment uses the Android SDK and Java to get the job done. Author David Gassner shows you how to install the SDK and the Android Developer Toolkit, create a project, save data on a device, build and control screen layouts, and create action bars and icons that control navigation.
These three related courses will use the same assets to develop the same app. (See Building a Note-Taking App for iOS and Building a Note-Taking App for Windows Phone 8 and Windows Store for more information.) Compare and contrast the different steps and discover the similarities and differences!
- Previewing the note-taking app
- Creating virtual devices for testing
- Unique concepts in Android
- Creating the Eclipse project
- Using local data storage
- Adding and retrieving data with the Shared Preferences API
- Creating screen designs
- Creating and editing notes
- Supporting older versions of Android with ActionBarSherlock