I would like an android app that manages simple XML files and displays them in a tree view. There will be 5 screens.**
**
## Deliverables
**Screen 1: Edit Entry**
Title: ____
Date: ____ (YYYY-MM-DD hh:mm)
(A large text area for the content)
Tags: ____ [...]
[Save Button] [Delete Button]
An entry will be saved in the following format:
<Entry>
<Title>First Entry</Title>
<Date>YYYY-MM-DD hh:mm</Date>
<Text>Content of the large text area. Plain text, but watch out for special characters that could break the XML.</Text>
<Tags>
<Tag>file</Tag>
<Tag>text</Tag>
<Tag>watch</Tag>
</Tags>
</Entry>
It will be saved in the app's directory in a folder for the date that may need to first be created. E.g.:
\\appname\entries\yyyy\mm\dd First [login to view URL]
Each tag will create new files if need be and append a node with the path to the entry. E.g.:
\\appname\tags\[login to view URL]
\\appname\tags\[login to view URL]
\\appname\tags\[login to view URL]
<Tag>
<Entry>
<Name>YYYY-MM-DD First Entry</Path>
<Path>\\appname\entries\yyyy\mm\dd First [login to view URL]</Path>
</Entry>
<Tag>
**Screen 2: View Tag**
Tag: ____ (Read only)
(A large list containing all entries)
[Delete Button]
Clicking on an entry will open it in Screen 1: Edit Entry.
**Screen 3: Search**
Text: ____
[Search Button]
The search button will run through each year folder and search each file for the text in the <Text> node.
**Screen 4: Search Results**
(A large list containing all results)
Clicking on an entry will open it in Screen 1: Edit Entry.
**Screen 5: Directory Tree**
A full screen tree view with nodes like in Windows Explorer. One root folder will be called 'Entries' and it will contain the years and months created when saving new entries. The second root folder will be called 'Tags' and contain the list of tags.
+Entries (folder icon)
++2011 (folder icon)
+++09 (folder icon)
+++10 (folder icon)
++++28 First Entry (file icon)
++++28 Second Entry (file icon)
+Tags (folder icon)
++File (file icon)
++Text (file icon)
++Watch (file icon)
Clicking an entry will open Screen 1: Edit Entry.
**Color Scheme**
Background: LightSteelBlue
Labels: MidnightBlue
Title Background: SteelBlue
Title Foreground: White
Textbox Background: White
**Details**
The app should load the Directory Screen Tree on startup with only the current month expanded. If there are no entries yet (the first run after installing) it should create a new entry with today's date and a title of "First Entry" before loading the tree.
The app should contain a menu with "Add Entry", "View Entries", "Search", and "Exit" as options.
The simpler the code the better. Please try to avoid any unnecessarily complex constructs. I prefer few files with lots of code than hundreds of files with little code.
The app should be called "Notepad Demo" and I would like to be able to change it easily. Each screen should work in portrait and landscape mode and look good.
Feel free to contact me if you have any questions. Thanks!