summaryrefslogtreecommitdiff
path: root/src/com/android/mail/ui/AccountItemView.java
Commit message (Collapse)AuthorAgeFilesLines
* unified email: prefer account display name to sender nameJorge Ruesga2016-12-301-5/+5
| | | | | | | | | | | When users have multiple email account defines, it makes more sense to have the account name rather than the sender name, which is in most is the case the user itself. The vast majority of the user known its name, so the account name becomes a more useful information to display. Change-Id: I866c55acc3b3b666d677b4243044c91abd0d7124 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Update Pre-L account switcherTony Mantler2014-08-191-0/+6
| | | | | | b/15966080 Change-Id: Ic01ff5bef2ae94d38656dc458ab37d401a14bf19
* Replace all references to UnifiedEmail's com.android.oldbitmap withJames Lemieux2014-07-111-1/+1
| | | | | | | | | equivalent usage of framework's com.android.bitmap. A small refactor of AccountAvatarDrawable.drawBitmap(...) is also included which produces no functional change. Change-Id: Ic67690cde56de6ca691ac8647ef02865b766ca62
* Rename com.android.bitmap to com.android.oldbitmapScott Kennedy2014-03-271-1/+1
| | | | | | | This is causing some conflicts, and we want to replace this with the new library in the near future. Change-Id: Ie607e20a96861a6282e27410fea859f0ee1737cd
* Change the layout of the account selectorMartin Hibdon2014-03-261-26/+46
| | | | | | b/12099292 Change-Id: Ie14ab2a534bacd915421a7083c9c3e3cc6b01a4b
* RTL: Properly align drawer items.Andrew Sapperstein2014-03-041-4/+2
| | | | | | | | | Fixes b/12719552. Previously used BidiFormatter incorrectly. Now using textAlignment's viewStart to align correctly for all locales. Change-Id: Ibffebc3d108d38ba6be9d38aefc74f473854bcbb
* Get rid of Account#nameTony Mantler2014-03-031-1/+1
| | | | | | b/13249115 Change-Id: I5478b139cba9e3e37924c3af1c7a4f818a803fa3
* Fix drawer item alignment issues in RTL and LTR.Andrew Sapperstein2014-01-221-10/+9
| | | | | | Fixes b/12552673 and b/12682890. Change-Id: I4d30ea2238563f866a2c9e1bb6ce3612c68cb750
* Add selectors for drawer item state changeRohan Shah2013-04-281-16/+6
| | | | | | | | For folder items and account items, add a selectors in drawable and color to allow for an easy state change (highlighted/focused/unselected). Change-Id: I618bcb70ca72c9849cf90e9b6662092822e4862e
* more contrast on drawer item textAndy Huang2013-04-261-1/+1
| | | | | | | Be consistent with converastion list text colors. visD approved. Change-Id: I4f35d82bd5e093490d9d28d649ba50911762c3f9
* Change UIRohan Shah2013-04-261-6/+15
| | | | | | | | | | | -Removed accounts recents -Changed colors -Added radio button assets for accounts -New header names for sections in folder -Shadows, folder selection dialog modified Bug: 8720403 Change-Id: I5b9379a4fe323bcc25fb0ed943ddc8ec7880a6be
* Update drawer UI (Contact Photos, Baseline Align)Rohan Shah2013-04-171-1/+1
| | | | | | | | | | | | | | | More UI Updates: 1) Updating the drawer UI to have contact photos next to account names. 2) Changed the align by removing font padding from folder item names for now. 3) Fixed Manage labels miscolored label header. 4) Changed Widget "Choose Folder" to Theme.Holo Bug: 8617095 (UX) Bug: 8599771 (Manage labels header) Bug: 8600474 (Widget) Change-Id: I6869ede915f65152587dd6051e1c4cfc571a1339
* UI Change for DrawerRohan Shah2013-04-111-33/+9
| | | | | | | | | | UI refresh for the drawer. Moving to a dark theme. Note, the pictures for the accounts will be added in a later CL. For the time being, there are gray rectangles for where the pictures/tiles will belong. Bug: 8594143 Change-Id: Iddd0a12ccbde70088beb386963a903141d9c345b
* Listen to notifications on all accounts correctlyVikram Aggarwal2013-04-081-0/+2
| | | | | | | | | | Change the all accounts object, and also redo the drawer list when the list of accounts changes. Bug: 8440677 Newly added account doesn't show up in drawer account switcher Change-Id: I41a4547980e58af7affdb3e4eac8c10f1b0ceabb
* CleanupScott Kennedy2013-04-051-11/+0
| | | | Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
* Refactor AccountItemView and resourcesRohan Shah2013-03-261-58/+17
| | | | | | | | | | | | | | | | Changes made: 1) Modified and separated most account_item.xml dependencies -Res files were cloned if necessary -Styles, colors, dimen have resources starting with account_item* 2) Cleaned out AccountItemView -Removed icon, backgrounds, draggable 3) Removed folder_expand_item.xml -No longer need expand item since MORE labels are gone. Bug: 8458611 Change-Id: I9bc347ca8b9886d439dad7d7da39e4324072b8a0
* Add and separate Account Item ViewRohan Shah2013-03-221-0/+162
Move account out of FolderItemView and simplify some of the key functionality (removing params and instance vars). Fix the multi-select bug as well by disabling state_activated for the account_item style. Changed the header as well to make the style different for currently selected account. Bug: 8440682 Change-Id: I55c55e403bc64733b5924f95f423fd1097c4dc16