Create the Contact Layout
The contact activity provides functionality associated with adding and modifying information about individual contacts. Although it is the most complicated layout in the MyContactsList app, it also demonstrates the use and configuration of a significant number of interface elements available in the Android platform. The relative nature of Android layouts makes development challenging; however, the concepts discussed in this chapter should help make the creation of a layout routine.
There are three major sections in this layout. The navigation bar completed in the previous section is one of these. One of the other two is another RelativeLayout
at the top of the screen to display the buttons that allow the user to access ...
Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.