January 2014
Intermediate to advanced
736 pages
70h 43m
English
When the user touches the action bar items
or
, the MainActivity displays the AddEditFragment (Fig. 8.11) with a layout (fragment_add_edit.xml) that uses a ScrollView containing a one-column vertical GridLayout. Be sure to set the ScrollView’s Id to @+id/addEditScrollView. If the AddEditFragment is displayed to add a new contact, the EditTexts will be empty and will display hints (Fig. 8.4). Otherwise, they’ll display the contact’s data that was passed to the AddEditFragment by the MainActivity ...
Read now
Unlock full access