summaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* Quantum search - version 1Jin Cao2014-08-216-50/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I apologize in advance for this huge CL. - New icons (yay!) - Abandon framework search and handle in-app search functionality ourselves. This is made possible because we use Toolbar and can position any custom view on top. - Remove all previous search related attributes, including search providers, searchable, search authority, default search menu item layout, etc. - Cleaned up the recent history provider to contain only the functionalities we need - query, add, and delete. Instead of using the framework to add recent queries, we directly insert into our database. Since the provider no longer needs to extend ContentProvider, removed some unnecessary callbacks such as onCreate. - Custom quantum search views: - Top search bar, this is inserted in a FrameLayout on top of Toolbar. The search bar interacts with the suggestion list and AbstractActivityController via the QuantumSearchViewController interface. - Suggestions list, this is inserted in the FrameLayout that typically contains the main content pane for either one-pane or two-pane layouts. Again, this interacts with the action bar via the controller. - Voice search, this is simply an implicit intent that converts speech to text. b/16518233 Change-Id: I589c40e6c6e3d8c719856b735d0c53e8db986e65
* Merge "Align overflow properly. b/16984437" into ub-gmail-ur14-devAndrew Sapperstein2014-08-161-3/+4
|\
| * Align overflow properly. b/16984437Andrew Sapperstein2014-08-201-3/+4
| | | | | | | | | | | | | | | | Makes it 56dp wide to align with the action bar overflow. Also pushes it down 8dp on tablet and makes the touch area behave the same as the rest of the message header actions. Change-Id: Ibd8915522d277f5d26bbc1a5357a8a1cf90992af
* | Merge "[Quantum TL] nested folders" into ub-gmail-ur14-devJin Cao2014-08-217-122/+85
|\ \
| * | [Quantum TL] nested foldersJin Cao2014-08-207-122/+85
| |/ | | | | | | | | | | | | | | | | | | Update the nested folders UI to reflect the newest redlines. Also removed all signs of list_edge_tablet since it's no longer relevant. b/16017301 Change-Id: I24fcb43984b595a4fed84622e79ce76deaa92d2b
* | Change Move To Dialog (Quantum)Rohan Shah2014-08-201-8/+14
| | | | | | | | | | | | | | | | Added folder label drawables to move to dialog (single folder selection) and removed dividers out. Bug: 17073025 Change-Id: I491577d126d9d4d6a328e1392b6f1975217397eb
* | Add back dividers to widget conv. listRohan Shah2014-08-201-1/+1
|/ | | | | | | | Divider items in styles were set to null, which resulted in this bug (no dividers in widget conv list). Bug: 17132040 Change-Id: I25ccbdd8439d442e5965096beaaeb73b14728cdd
* Fix All Done Text View (Better one)Rohan Shah2014-08-201-1/+2
| | | | | Bug: 17049965 Change-Id: I0f42e0dca4eb4d244c05ced990ba755bdfaedbf7
* Merge "Revert "Change width for TL empty_view's TextView"" into ↵Rohan Shah2014-08-201-3/+1
|\ | | | | | | ub-gmail-ur14-dev
| * Revert "Change width for TL empty_view's TextView"Rohan Shah2014-08-201-3/+1
| | | | | | | | | | | | This reverts commit 90c54054d512ec06edfa6ba70d3237e6651a2727. Change-Id: I0df38516262d36b8ed6356015d8c614f351a7989
* | Merge "Update Pre-L account switcher" into ub-gmail-ur14-devTony Mantler2014-08-201-4/+4
|\ \
| * | Update Pre-L account switcherTony Mantler2014-08-191-4/+4
| | | | | | | | | | | | | | | | | | b/15966080 Change-Id: Ic01ff5bef2ae94d38656dc458ab37d401a14bf19
* | | Merge "Inherit dropdown style for compose" into ub-gmail-ur14-devJin Cao2014-08-191-0/+1
|\ \ \ | |_|/ |/| |
| * | Inherit dropdown style for composeJin Cao2014-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compose dropdown style should inherit from appcompat style to get the proper formatting since all we care about is eliminating the divider. b/17129743 Change-Id: Iaa86f2f6bb13c4d3a13443721ae192f255262a25
* | | Change width for TL empty_view's TextViewRohan Shah2014-08-191-1/+3
| | | | | | | | | | | | | | | Bug: 17049965 Change-Id: I7fc7fe0c343eceabdfaa665ba53a2f8979aed7a4
* | | Merge "Fix multi-line snackbar layout on phones." into ub-gmail-ur14-devJames Lemieux2014-08-191-5/+1
|\ \ \ | |_|/ |/| |
| * | Fix multi-line snackbar layout on phones.James Lemieux2014-08-191-5/+1
| | | | | | | | | | | | Change-Id: I8019b0e9b1643af9830f2920249cf1e523264dfa
* | | Set toolbar theme. b/16826009Andrew Sapperstein2014-08-191-1/+3
| |/ |/| | | | | Change-Id: I17da9cc6570d3167f767b25daae8e7c0051f9416
* | Tweak layout for old-style account switcherTony Mantler2014-08-181-3/+2
|/ | | | | | b/15966080 Change-Id: Icb2ddc88b9d05d0452966ff45632c58026ca8d50
* Merge "Label the floating action compose button for accessibility" into ↵James Lemieux2014-08-161-0/+1
|\ | | | | | | ub-gmail-ur14-dev
| * Label the floating action compose button for accessibilityJames Lemieux2014-08-151-0/+1
| | | | | | | | | | | | b/16404973 Change-Id: Id1bb93581926c093be8a7d620372f1ffa883b8db
* | Merge "Implement inset dividers in Thread List" into ub-gmail-ur14-devJames Lemieux2014-08-167-8/+8
|\ \
| * | Implement inset dividers in Thread ListJames Lemieux2014-08-157-8/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | b/16795579 Because the background color of the conversation list items changes as the items are selected, activated, focused, etc, the color of the inset must be dynamic. As a result, these "dividers" aren't actually traditional ListView dividers, but are instead drawn within ConversationItemView.onDraw(). Change-Id: I1bbc28e8eee399d5c1feb44df65674c94acef4cd
* | Quantum folder list in TLJin Cao2014-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | Re-did logic for drawing the folder list for TL. The maximum width of folder and chips are calculated based on a proportion of the entire conversation item. b/15552002 Change-Id: I8fea84112f86f9278dae4c724b2a0bd7a9c59af8
* | [Quantum] Quoted textJin Cao2014-08-161-28/+20
| | | | | | | | | | | | | | | | | | | | New styles for quoted text and respond inline. I was not able to remove the default padding that comes with the checkbox widget, so I used negative margins to offset it. b/16876147 Change-Id: I748ac5a99917b9c25573fa06876dd720bcccc04d
* | Update Notifications Icon (UnifiedEmail)Rohan Shah2014-08-151-1/+1
|/ | | | | | Rest in pieces little gmail icon :( Change-Id: I092e902d5c3008016d70e4817f57daf6998b936f
* Merge "Fix large text multi-line handling" into ub-gmail-ur14-devTony Mantler2014-08-152-11/+9
|\
| * Fix large text multi-line handlingTony Mantler2014-08-142-11/+9
| | | | | | | | | | | | | | | | | | This also switches to FrameLayout instead of RelativeLayout because nothing was being laid out relatively. b/16998365 Change-Id: I86750c0a854a0bbecccc0c19653e0999f3aba49d
* | Merge "Fix "x new" in Sectioned Inbox Teaser for Large Text" into ↵Rohan Shah2014-08-121-2/+2
|\ \ | | | | | | | | | ub-gmail-ur14-dev
| * | Fix "x new" in Sectioned Inbox Teaser for Large TextRohan Shah2014-08-141-2/+2
| |/ | | | | | | | | | | | | Updated dimensions from dp to sp for count_textView. Bug: 16998904 Change-Id: Ied867ff90341d4277a07d7ed8d5c389e4dd553a7
* / Keyboard polishJin Cao2014-08-141-1/+0
|/ | | | | | | | | | | | | | Some polish for our custom conversation view navigation, e.g. pressing up when you are on the first header item will auto focus the overlay, same thing for down and last item. Disable focus for conversation header since there isn't much actionable items there (MAYBE star, can discuss later). b/3304236 Change-Id: I06796adac09716bccdae2636c7a9da245896eb34
* Update Notifications (UnifiedEmail)Rohan Shah2014-08-141-2/+2
| | | | | | | | | | | | | Updated most of the notifications and added color for them. Still missing a few things: - No Big Icon BG (waiting for possible addition to frmwrk) - Small mail icon is still there with multiple mail icon (code's in place but I'm looking for a better sol) - Badge (small) Icon is really small at the top of the bar which should be fixed soon Bug: 16987147 Change-Id: I44de8eab32250d1486805a652e8c04db89268c62
* Merge "Remove duplicate resources" into ub-gmail-ur14-devJin Cao2014-08-122-2/+2
|\
| * Remove duplicate resourcesJin Cao2014-08-132-2/+2
| | | | | | | | | | | | | | ic_menu_cancel and ic_cancel are the same thing. Also renamed ic_cancel into a generic name. Change-Id: I2510335bb1abc417d650c50d581e071928941971
* | prevent NPEPaul Westbrook2014-08-131-0/+1
| | | | | | | | | | Bug: 16949922 Change-Id: Ic542ddf5b6946816f0e7be562a4b0238abf6bb7d
* | Section Inbox Teaser Update (Unified Email only)Rohan Shah2014-08-121-14/+8
|/ | | | | | | | | UnifiedGmail update coming in soon to take care of rounded corners and any other leftover UI changes for the section inbox teaser. Bug: 16570109 Change-Id: Ic4acda1f8dd0cd9916488551307d0b204f1219d8
* Merge "Give the blank header a divider line" into ub-gmail-ur14-devTony Mantler2014-08-121-4/+9
|\
| * Give the blank header a divider lineTony Mantler2014-08-111-4/+9
| | | | | | | | | | | | | | | | | | Technically this adds a divider line when we're using the L account switcher too, but in practice it's nearly invisible. b/16818617 Change-Id: Ia534e0efffdb976697767ae01fd3ec88b24ec47a
* | Add bottom margin for last footer item in drawerTony Mantler2014-08-111-1/+5
|/ | | | | | b/15966080 Change-Id: I6adff812aee597b6bb0943bde11e39aa563fe06f
* Merge "Takes more than one click to Undo Archive/Delete" into ub-gmail-ur14-devJames Lemieux2014-08-111-2/+8
|\
| * Takes more than one click to Undo Archive/DeleteJames Lemieux2014-08-081-2/+8
| | | | | | | | | | | | | | | | | | | | b/16817429 I have changed the spacing around the action text (UNDO) to be padding rather than margins. This provides more tap target slop for the action text. Change-Id: I8c2e56ff84a5a29846573fb2928cafc32d7f5cd5
* | Merge "Changed widget style to Quantum." into ub-gmail-ur14-devRohan Shah2014-08-091-61/+22
|\ \
| * | Changed widget style to Quantum.Rohan Shah2014-08-101-61/+22
| | | | | | | | | | | | | | | Bug: 16823227 Change-Id: I95338c08cc799596090002520976b240e5b94b9d
* | | Restyle alt/single dropdown to redlineJin Cao2014-08-101-14/+30
|/ / | | | | | | | | | | b/16851158 Change-Id: I2d5fb3ce14d320aa3fe747500aad435ee386a10c
* | Merge "[KBNav CV] basic support for CV keyboard nav" into ub-gmail-ur14-devJin Cao2014-08-099-29/+57
|\ \
| * | [KBNav CV] basic support for CV keyboard navJin Cao2014-08-089-31/+61
| |/ | | | | | | | | | | | | | | Support basic navigation via keyboard in CV. b/16636060 Change-Id: I66dbcd8015d722244b57c4e24579d0d854d3ee74
* / [KBNav TL] Basic navigation in TLJin Cao2014-08-085-11/+9
|/ | | | | | | | | | | | | | | | | | | | | Support basic keyboard navigation in TL. CV is not implemented so interaction between TL and CV once you open a conversation is not guaranteed. On TL, left arrow goes to minidrawer/drawer, right arrow goes to CV if open, up/down works as expected, TAB goes to ComposeBtn. On drawer, up/down as expected, right goes to TL, TAB goes to ComposeBtn. On ComposeBtn, left/up/TAB goes back to TL, right/down does nothing. Currently no way of accessing the action bar menu because I don't know what id to set to focus. b/16636060 Change-Id: Ia9bae322e41a53beed20702fba301fbfd9100aa3 Conflicts: src/com/android/mail/ui/ConversationListFragment.java
* [Quantum compose] custom anchor for toJin Cao2014-08-081-10/+17
| | | | | | | | | Add custom anchor for To field so the popup will have the full width of the field. b/16851158 Change-Id: I54cbd601d46c8d2fb3ee37956fb560dcb31905f9
* More CV attachment tweaks. b/16138036Andrew Sapperstein2014-08-081-6/+4
| | | | Change-Id: I17cfd045727d59105f9ddbbe7e22189c9ddb4fd1
* CV divider tweaks. Fixes b/16880210.Andrew Sapperstein2014-08-084-5/+5
| | | | | | Also tweaks some padding for CV attachments. Change-Id: Ic364f012ed35773681f884c8402e19f16f5bca22