Chapter 10
Creating the Task Detail Page
In This Chapter
Create the TaskEditActivity and TaskEditFragment
Using the FragmentManager to start fragments
Creating click listeners and starting activities
Saving fragment state and restoring it later
Transparent status, action, and navigation bars
Using the Palette library
This chapter continues the Tasks app that you started in Chapter 9. You’ve already built a rudimentary list view for the app; now it’s time to allow users to create and edit tasks.
This will require the following steps:
- Create a new activity and fragment to allow editing and updating tasks.
- Allow users to click on items in the list to open them in the editor.
Creating the TaskEditActivity
First things first, you will need a new activity to hold all this editing goodness. Right‐click the com/dummies/tasks/activity folder and select New Blank Activity. Input the settings ...
Get Android App Development For Dummies, 3rd Edition 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.