Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Wrapping Up

This chapter introduced the common Android views and layout containers, along with the attributes used to display them. You also started building a basic time-tracking app. Along the way, you learned that

• Android provides many basic form widgets for building your UI.

• There are several layout container types, and they each have specific situations in which you should use them.

• Any updates to your app UI must take place on the UI thread.

• You can use a ListView to display lists of data to your users, and you can bind data to that ListView by using a ListAdapter.

• Understanding the activity life cycle is fundamental to building a responsive app.

• You can use StrictMode to prevent Application Not Responding (ANR) errors.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial