summaryrefslogtreecommitdiff
path: root/src/com/android/mail/ui/MiniDrawerView.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove the dotdotdot. b/17923472Andrew Sapperstein2014-10-081-18/+2
| | | | Change-Id: I1fa2b369f2d91d2fa65fe31190d9a8376393d67d
* Give minidrawer items an activated state backgroundTony Mantler2014-10-061-3/+5
| | | | | | | | I'd prefer to use a layer-list or something but that doesn't get along well with selectableItemBackground on pre-L. b/17536955 Change-Id: I7dfd814205c5df43acfb3e7aea5050bc750807fd
* Don't crash when the MiniDrawerView is too shortTony Mantler2014-09-301-4/+17
| | | | | | b/17722072 Change-Id: Ica7f8dccdb91aad2a74fe414cad355888f917199
* Minidrawer updates for selected stateTony Mantler2014-09-291-0/+1
| | | | | | | | Does not include item background changes b/17536955 Change-Id: I636a4595ce1b9b4d3e5cd32973b8050a540d067f
* Prune minidrawer items to fit short screen heightsTony Mantler2014-09-261-1/+75
| | | | | | b/17663519 Change-Id: I5ff0be5463f7d08f4172f5654d6137848173a8b2
* disable focus/click on current account in mini-drawerAndy Huang2014-09-181-9/+18
| | | | | | | | | And clean up some mini-drawer (the stub current-account view was just tossed in Gmail) focus shenanigans (assumed 0th mini-drawer child was focusable). Bug: 17536935 Change-Id: I5246afd650da728601cece4339357557dac3de37
* Fix navigation to mini drawerJin Cao2014-09-181-0/+10
| | | | | | | | | | | | | | | Soemthing changed for current_account_avatar (I see it in xml, but the id is never referenced in code and I couldn't find it in hierarchy viewer) which broke navigation since that was the default navigation id I was using for mini drawer. I changed the default id to the mini drawer itself and auto-passing the focus to its first child. Also remove focusableInTouchMode for FAB. b/17555177 Change-Id: I79f27850efdcc06497a042d1e5b155a6755fdbed
* Label minidrawer itemsTony Mantler2014-09-111-0/+1
| | | | | | b/16820124 Change-Id: Ia6099c2e80439a6995ef2d8db72cb812d921cd7c
* Don't refresh drawer icons when the fragment isn't attachedTony Mantler2014-09-051-1/+1
| | | | | | b/17400446 Change-Id: I0065e790053300662f9b39a1a0eb963598349e89
* Create mini drawer avatars using an adapter in FolderListFragmentTony Mantler2014-08-291-71/+37
| | | | | | | b/16872019 b/16980813 Change-Id: Ia1335248942b0c05ce56198cc09cb6b4ad5b2c5c
* Clean up warnings and unused codeTony Mantler2014-08-271-8/+1
| | | | Change-Id: I5f86d75fb81d33ab747bf6c1b89c686fe79ddd65
* mini-drawer. new tablet UI.Andy Huang2014-08-011-0/+202
New MiniDrawerView class for a minimized drawer UI with shortcuts to the main drawer logic to switch accounts and folders. The "drawer" is now always visible except in portrait conversation view. Can't easily use an actual DrawerLayout because: -drawers usually occlude other views, they don't push -we have that omnipresent 'mini' version -we want custom control over dragging to trigger a fancy animation (not just edge swipe!) (I'll revisit this later.) Even ActionBarDrawerToggle alone can't be used w/o DrawerLayout, so for now, all of this drawer logic (dragging not yet implemented) is from scratch. TwoPaneLayout no longer "shifts" its panes to transition from TL->CV in landscape; the panes are now fixed in position. Not yet implemented is a 'conversation-visible-but-not-marked-read' state necessary to avoid the initial gray expanse there right now. Bug: 16147175 Change-Id: I021aaff15afebb76db6722265e2a592213674405