Join David Gassner for an in-depth discussion in this video Creating the editor activity and layout, part of Building a Note-Taking App for Android.
- I'm now ready to add my second activity.…From the main screen that displays the list of notes,…I want the user to be able to jump…to a second activity that lets them either create…a new note, or update or delete an existing note.…I'm going to place a button in the lower right corner…of the main activity screen.…When the user touches that button,…it'll go to the Editor, to create a new note.…I'm working i the Project Editor activity now.…And I'll start by creating my new activity.…I'll go to the Project window,…and right click on the Project Header,…and then I'll choose New,…Activity, Blank Activity.…
I'll set the activity name to EditorActivity.…The Layout Name, Title, and Menu Resource name…are reset automatically.…I'll also set the Hierarchical Parent.…I'll click the Browse icon, and choose Main Activity.…When the user navigates to the new activity,…this will cause an up or back button…to appear automatically in the tool bar…or action bar.…I'll show you how that's working in a moment.…I'll click Finish,…and that creates two new files.…
Building a Note-Taking App for iOS 8 and Building a Note-Taking App for Windows Phone 8 and Windows Store use the same assets to develop a similar app. Compare and contrast the steps and discover the similarities and differences between the three platforms.
- Understanding Android UI and data management patterns
- Creating an Android Studio project
- Customizing material design theme colors
- Defining an SQLite database structure
- Managing data with ContentProvider and Loader classes
- Retrieving and displaying data
- Customizing data display with a CursorAdapter
- Creating, updating, and deleting notes
- Preparing the app for deployment