X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=docs%2Fandroid%2Fandroid.md;h=f3d2775e501d00e38188a8296c113116c467aa9f;hb=8c8419c8f9cb726d42d2b8bd52339ef1b8ec4eed;hp=6885fbf68e2df71076c6e06ed7d60a7d78d7a76e;hpb=ea5b1120bc26b0bdefbb0612184c8cb7f3dc9549;p=fanfix.git diff --git a/docs/android/android.md b/docs/android/android.md index 6885fbf..f3d2775 100644 --- a/docs/android/android.md +++ b/docs/android/android.md @@ -84,12 +84,16 @@ This list will hold books. Each item will be represented by : Material.IO: -- Title, navigation icon, search icon : Header -- List : TODO: List? AdaptiveList? (I forgot the full name...) +- Title, navigation icon, search icon : [App bar top](https://material.io/design/components/app-bars-top.html) +- List : [Cards](https://material.io/design/components/cards.html) -A tap will open the target book. +A tap will open the target book in full-screen mode (i.e., the details about the card). -A long press will first "select" the book (visually alter it so the user know which book is the target) then open the context menu. +On the detailed card, you will see the description (see Description Page) and 3 buttons : + +- Open +- Delete +- "..." for a menu ### Navigation drawer @@ -111,14 +115,14 @@ The navigation drawer will list 4 destinations: Those subpanels will either contain the sources/authors **or** sub-subpanels with sources/authors. See fanfix.jar (BasicLibrary.getSourcesGrouped() and BasicLibrary.getAuthorsGrouped()). +Note: if those last two cause problems, they can be removed; the first four options would be enough to cover the main use cases. + #### UI Material.IO: - Navigation drawer: navigation drawer -TODO: is it ok to have 3 levels of drawers? - ### Context menu ![Context Menu](screens/menu.jpg) @@ -159,7 +163,9 @@ For other books (sources and authors): Material.IO: -- menu: menu +- menu: [menu](https://developer.android.com/guide/topics/ui/menus.html) + +The menu will NOT use sublevels but link to a [list](https://material.io/design/components/lists.html) instead. ### Description page @@ -167,7 +173,7 @@ Material.IO: #### Header -Use the same cover image as the books, and the description key/values comes from BasicLibrary.getDescription(). +Use the same cover image as the books, and the description key/values comes from BasicReader.getMetaDesc(MetaData). #### Description @@ -247,7 +253,7 @@ It contains 4 action buttons (first, previous, next and last chapter) and the ti Matrial.IO: - Header : Header -- Navigator : Bottom sheet +- Navigator : [Sheets bottom](https://material.io/design/components/sheets-bottom.html) ### Text viewer