summaryrefslogtreecommitdiffstats
path: root/res/values-sw720dp
Commit message (Collapse)AuthorAgeFilesLines
* Peek mode for 2-pane landscapeAndy Huang2014-10-151-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Peek mode allows CV fragments to be visible but not marked viewed and read. TPC keeps a global flag for whether the current conversation should be peeked vs marked read. I have tried to manually reset the flag in the 6 cases that cause the current conversation to change: 1. tap another conversation (don't peek) 2. swipe to another conversation (don't peek) 3. keyboard-advance to another conversation (peek) 4. auto-advance=newer|older (don't peek) 5. auto-advance=list (go older & peek) 6. empty CV and a list cursor has loaded (peek at i=0) Swipe, in particular, required a new onConversationViewSwitched() call in CPA because onPageSelected() is triggered both when swiping around in the view pager AND when simply setting the initial page as part of constructing a view pager. Thankfully, there is only ever one copy of this peek flag in the app, in TPC, since AAC/TPC is where all the work is done both to mark conversations seen and to switch to new conversations. Rotation to portrait on tablets now requires tearing down a ViewPager; this code and thought process is documented here: http://go/xqaxk TODO: selected indicator for transition from peek->read state in-place TODO: touches in CVF should mark it read Bug: 17291366 Change-Id: I24f71a2b7985773814d8caad9f3ab3fe5c3609c8
* Honor min and max snackbar widths in 2 pane layoutsJames Lemieux2014-09-251-0/+20
| | | | | | | | | | | | b/16395550 When the fab was changed to sit in the TL in 2 pane layout the min and max widths were never updated to match. Note: we chose different max widths of the snack bar for 7" and 10" displays. Change-Id: I8b3e31b4db2c1c721bb32b68b422cb5e36e7bd4e
* Don't cache resources across configuration changesTony Mantler2014-09-051-2/+0
| | | | | | | | Also clean up unused routines and resources b/16547234 Change-Id: Idfe8210d8f6f38363daa534d68dfd21440bc352d
* mini-drawer. new tablet UI.Andy Huang2014-08-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* stable action itemsAndrew Sapperstein2014-07-231-3/+0
| | | | | | b/16167419 Change-Id: I72c7c44f5728563da1fcbd39daa31ccd41845d8a
* Move Help & feedback to Nav drawer of Email.James Lemieux2014-03-131-0/+3
| | | | | | | | | | | | | | | | | | | b/11061485 Gmail remains unchanged due to this checkin. HELP and SEND FEEDBACK are now the two bottom-most drawer items in the Navigation drawer of the Email application when it is present or in the overflow menu when it is not present. SEND FEEDBACK still behaves as always. HELP has been redesigned so that it displays the help content in a local webview rather than using an external browser in the Email application. Change-Id: If1bdba26ac2caca79c81205a409c67659cd49653
* Remove more unused resourcesScott Kennedy2013-08-201-26/+0
| | | | Change-Id: I40b6fe884e551619b400484f7cc2e971a0e18fae
* Remove a ton of unused resourcesScott Kennedy2013-08-201-21/+0
| | | | Change-Id: I38b44bc518d58bee859a655cf68ec4f669063d78
* Conversation View UI Refresh: Cards.Andrew Sapperstein2013-07-251-19/+0
| | | | | | | | | | | | | | | | Lots of changes: New show pictures asset. Added border as a new view type in the conversation view to vertically separate cards. Changing its size is TBD. Final UI for details header (both collapsed and expanded). Side borders are accomplished via a new overlay layer that is positions a view to each side of the conversation view. Lots of dimension changes, padding and margin changes, and other pixelpushing. Change-Id: I4029ae46896e27fe20b005c01b8df04bb2a46c2a
* Conversation View UI Refresh: more message header.Andrew Sapperstein2013-07-111-8/+0
| | | | | | | | | Revised design of the upper header. Some work on the expanded and collapsed details header and the other sub-headers. Still needs some UI resolution before this can be finished. Change-Id: I925e3b50f06519fbe41ffe7470e2fbfa50e337c7
* clean up 'collapsed' constantsAndy Huang2013-06-181-3/+1
| | | | Change-Id: I8bb38ac918f061cd9ed4ad21d9ed686672dbde15
* grand unified toast bar sizingAndy Huang2013-05-081-4/+0
| | | | | | | Death to constants. Bug: 8872920 Change-Id: Ic90ddac4b741ec57dd59aadf4d3d426d9813e105
* use the drawer on small tablets. general tablet layout love.Andy Huang2013-04-291-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added 'spacious' variant of NORMAL list item layout. Because the determination of whether to use tight or spacious dimensions isn't easy with resource qualifiers (think of 7" tablet, which uses tight dimensions for 2-pane side-by-side layout, but spacious dimensions in portrait), I just made a whole new layout for this permutation. Please remember to maintain NORMAL, WIDE, and now NORMAL/spacious variants! Use WIDE mode + drawer on landscape 7" tablet. Make 2-pane controller and layout drawer-aware. Pull up drawer code into the common controller base class. 10" 2-pane continues to not use a drawer. Don't use a resource qualifier to decide between normal and wide item layouts (same reason as spacious dimensions above). Use the actual item width as a dimensional test (list_min_width_is_wide). Use default drawer scrim color. TODO: the conversation-open animation is janky looking. can't open the drawer in conv mode/7" landscape Bug: 8578806 Change-Id: I1210b1d47d1756353f7c386873465751ca21f801
* Attachments in Conversation List: UI changes to display attachment previewsMark Wei2013-04-032-5/+23
| | | | | | | | | | | in the conversation list. Depends on: PhotoManager: https://googleplex-android-review.googlesource.com/#/c/285814/ Backend: https://googleplex-android-review.googlesource.com/#/c/289305/ Bug: 7481049 Change-Id: I284ec722bb0ed0ddb8b27804c0ee5591ef672032
* Fixup the width of the subject when folders are present.mindyp2013-01-151-31/+0
| | | | | | | | Measure at runtime based on whether folders are showing, the font size, the font weight, and the the max width of folders being drawn inline. This does not affect wide mode. Change-Id: Ia0293fd5036ba93f5bfc03e1693b5f4acbf33103
* 10" tablet style; use old fonts and read/unread colorsmindyp2013-01-091-2/+2
| | | | Change-Id: Id82c30abaffe6fdf05579f98985d28529d74f394
* Make sure we verify there is a subject length for the mode before pulling it ↵mindyp2013-01-091-0/+2
| | | | | | | | | | from the array. If not, default to conversation list length. Fixes b/7960035 gmail crashes when searching Change-Id: Ieaa472e8b79637615a103bf9a33ec08a3bdcd6e5
* Set font sizes, colors, and types for subject/senders/ snippet. Set max ↵mindyp2013-01-031-0/+29
| | | | | | | | | | | | | | length for subject. Also, a fix for: b/7937635 Senders text displayed as "e": need to figure out why the single sender was being marked as elided at all so leaving the issue open Considering an option in which I divide the subject into 2 textviews and ellipsize based on length... Part of matching redlines. Change-Id: I109001fb1d52c032d489bf7d3a0a6e925a9d7f1a
* Refactor res/values resources to use -land qualifier instead of -port qualifier.Mark Wei2012-10-224-36/+18
| | | | | | | | | Functional changes: compose.xml layout uses the ComposeArea style which causes all portrait tablet orientations to have no margin and 80dip padding. This is desirable. Bug: 7382467 Change-Id: I45af05211b57d03b51b11895a098828d60f5df7b
* Merge "Fix padding next to the unreadcount in the action bar on the tablet." ↵mindyp2012-10-121-1/+1
|\ | | | | | | into jb-ub-mail
| * Fix padding next to the unreadcount in the action bar on the tablet.mindyp2012-10-121-1/+1
| | | | | | | | | | | | Fixes b/7341109 In landscape manta unread count should align with the checkboxes Change-Id: Ia585c1fd131876838f458cdb078c9e6736aff549
* | Update width of the compose view for landscape 720dp tablets.mindyp2012-10-121-1/+1
|/ | | | | | Fixes b/7340028 compose view isn't wide enough in lanscape on manta Change-Id: If04f5a96e8bca9dad525763a6538760e63a25f93
* The animation for folderlistfrag on 720dp devices is too jankymindyp2012-10-111-0/+3
| | | | | | | disable it fixes b/7329623 don't animate the folderlistfragment transition Change-Id: Ic4e67f7e64941f3d18cc89ff66e2817f19dd5441
* Vertically align the star/date on sw720dpScott Kennedy2012-10-041-0/+8
| | | | | | | | Using slightly different layout parameters on sw720dp devices to vertically align the star, time, and attachment icon. Bug: 7267784 Change-Id: Ibfd46d7c30bfa327a1b93e2e7a2b024746f883b8
* Use resources to define the undo bar width values.mindyp2012-10-021-0/+5
| | | | | | | | | That way, we don't have to wait for 2 pane to complete layout to know how wide to make it. Fixes b/7267726 undo bar resizes on rotate Change-Id: Ie442ad3772b9130fa5a368388a661cd343e7c8b6
* Make sure unread count looks good on 720dp screens as well.mindyp2012-09-141-0/+3
| | | | Change-Id: I46d37a10b6e2117a4cdcb81f62c980d6d69212e8
* Make search behavior match jb search behavior.Mindy Pereira2012-05-161-0/+3
| | | | | fixes b/6497634 carry over search results behavior from jb Gmail Change-Id: I54cea6b8d828071ad841e1f42fbdece8a1aa159b
* Update pattern for port/landscapeMindy Pereira2012-05-162-1/+22
| | | | | | | Conv list hides in conv portrait view Fix relative widths of folder list/ conv list/ conv Change-Id: I47547c994748fdabf6ac590b7905863dc0ebefc2
* Fix portrait modeMindy Pereira2012-05-161-0/+3
| | | | Change-Id: I42186513ce1069b3ceb18a6ea93ea7d9b7c99943
* Fixup compose layouts.Mindy Pereira2012-05-151-0/+1
| | | | | | Match jb specs. Change-Id: I44235ddf8d7a9980651843f137b16a3e0e6397a7
* Fix width of account recent label spinner on tablet.Mindy Pereira2012-03-072-0/+23
| | | | | | | | Needed to bring in correct overrides. Also temporarily fix crash while fully implementing tablet search. Change-Id: I7b919966c3ec9eaa76ca1f9ac4eca7b19aea46b0
* Fix tablet constants.Mindy Pereira2012-03-021-0/+21
| | | | Change-Id: I129a8a04d097894467da6173371748cb7c02ca13
* Show Conversation ListsVikram Aggarwal2012-02-091-0/+23
Change-Id: Ia4356aaa5ee698cad6f648b9d26a5719ba8076ba