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 ...