Running the app

You can now run the app and enter a new note, as shown in this next screenshot:

Running the app

After you have entered several notes of several types, the list (RecyclerView) will look something like this next screenshot:

Running the app

And, if you click to view one of the notes, it will look like this:

Running the app

Note

Reader challenge

We could have spent more time formatting the layouts of our two dialog windows. Why not refer to Chapter 5, Beautiful Layouts with CardView and ScrollView, as well as the Material Design website, and do a better job than this. Furthermore, you could enhance the RecyclerView/list of notes by using CardView instead of LinearLayout.

Don't spend too long adding new notes, however, because there is a slight problem: close and restart the app. Uh oh, all the notes are gone!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.190.38