diff options
author | Andy Huang <ath@google.com> | 2013-04-24 22:49:43 -0700 |
---|---|---|
committer | Andy Huang <ath@google.com> | 2013-04-29 19:02:06 -0700 |
commit | 12b3ee458e04ac7e0b69302e671d10b24a5c98cf (patch) | |
tree | e5eec83a99ecd69bf8dd359a46a12cb91552e72c /res/values-sw720dp | |
parent | cab5e1eab9876319b3403faea17ea2f0db17fd2c (diff) | |
download | android_packages_apps_UnifiedEmail-12b3ee458e04ac7e0b69302e671d10b24a5c98cf.tar.gz android_packages_apps_UnifiedEmail-12b3ee458e04ac7e0b69302e671d10b24a5c98cf.tar.bz2 android_packages_apps_UnifiedEmail-12b3ee458e04ac7e0b69302e671d10b24a5c98cf.zip |
use the drawer on small tablets. general tablet layout love.
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
Diffstat (limited to 'res/values-sw720dp')
-rw-r--r-- | res/values-sw720dp/constants.xml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/res/values-sw720dp/constants.xml b/res/values-sw720dp/constants.xml index 2ea59b7ea..c1b131504 100644 --- a/res/values-sw720dp/constants.xml +++ b/res/values-sw720dp/constants.xml @@ -16,11 +16,9 @@ limitations under the License. --> <resources> - <integer name="folder_list_weight">1</integer> - <integer name="conversation_list_weight">3</integer> - <integer name="conversation_view_weight">6</integer> <!-- Whether the list is collapsed in conversation view mode --> <bool name="list_collapsed">true</bool> + <bool name="use_expansive_tablet_ui">true</bool> <!-- Search results in portrait mode on 10" tablets should still show wide conversation list items. |