We introduced the EditText views to enter editable text content. You can see some new attributes here:
- hint: This defines the default string value that will be presented to the user
- padding: This is the space between the view itself and its content
- gravity: This defines direction for the content; in our case, all text will stick to the top of the parent view
The strings resource file now looks like this:
<resources> <string name="app_name">Journaler</string> <string name="title">Title</string> <string name="your_note_content_goes_here">Your note content goes here.</string> </resources> Todos screen ...