these work fine, when NotePad.java is created it populates notes_list layout with a list of notes_row layouts, if there is not notes then it will come up with a message saying no notes yet. On press of the menu button a menu appears saying Add Note, and when pressed it starts the NoteEdit.java activity, since no data has been made yet no data is to be sent through with the intent, so it doesn't fill in the fields title and body and leaves them blank.
In the notes_edit.xml layout there is two TextViews, one saying title the other saying body and two EditTextViews one for editing the title and one for editing the body and also one Button to save.
I had a problem where if you save a note with no title you can't open it again because there was no text to press, so I came up with a solution that if the title was left empty it wouldn't save until it was, so I also made it that it wouldn't be annoying this function by automatically setting title to the date if it was empty or only contained spaces.
So in version 0.1.1 and 0.1.2 when you pressed on an item in the notes list it would automatically go into note edit mode and fetch the note using the note id but someone pointed out to me that what if they just wanted to view the note, so I made a new class, NoteView.java, and its corresponding .xml layout, notes_view.xml, notes view was just a simple linear layout with a textView for the title, a view for a line between the title and body, a scroll view, incase the body is bigger then the screen and another textView inside the scrollView for the body.
When NoteView was created it would fetch the note title and the note body from a sql database and set the text views as the strings, pretty straight forward.
When the menu button was pressed in NoteView.java it would open the NoteEdit.java activity and just send on the information that NotePad.java had sent to NoteView.java through a intent using .puExtra.
I decided that I didn't like my logo I had made myself and put it on Facebook asking for someone tho make a new logo for it, Jared Wratten, a friend of mine was the first to get back to me with a new logo, im quite pleased, its a lot better then the original.
So in all in version 0.1.3 it will have the following things:
- New logo
- Title fix in notepad
- New NoteView class
- Minor bug fixes