From 0ea76d07fb811247450b0cc88cd744ac51c11970 Mon Sep 17 00:00:00 2001 From: Jorge Ruesga Date: Sat, 25 May 2013 19:07:03 +0200 Subject: Trebuchet: Better layout for isScreenLarge devices This change increase the space for the shortcuts at hotseat to fit the workspace on isScreenLarge devices. Also deactivate and remove the stretch screen setting, because the dimensions are always calculated on these devices. Also this change configures the space between hotseat pages to avoid to display icons for other pages in the current hotseat page. Patchset 2: Added nebkat suggestions Screenshots from TF700T: Landscape -> https://sharecloud.ruesga.com/public.php?service=files&t=efede324ade05db79878eac13e637301 Portrait -> https://sharecloud.ruesga.com/public.php?service=files&t=79a7002a73e167eed08a195c4cf3d05c Change-Id: I061303ce2ac78f3e7f7b13c4a25602b14e991e99 JIRA: CYAN-502 Issue: https://jira.cyanogenmod.org/browse/CYAN-502 Signed-off-by: Jorge Ruesga --- res/layout/hotseat.xml | 1 + res/values-sw720dp-land/dimens.xml | 4 ++++ res/values-sw720dp-port/dimens.xml | 8 ++++---- res/values-sw720dp/dimens.xml | 9 ++++----- 4 files changed, 13 insertions(+), 9 deletions(-) (limited to 'res') diff --git a/res/layout/hotseat.xml b/res/layout/hotseat.xml index dfe0c50..1072df6 100644 --- a/res/layout/hotseat.xml +++ b/res/layout/hotseat.xml @@ -16,4 +16,5 @@ diff --git a/res/values-sw720dp-land/dimens.xml b/res/values-sw720dp-land/dimens.xml index 8252450..c4e161d 100644 --- a/res/values-sw720dp-land/dimens.xml +++ b/res/values-sw720dp-land/dimens.xml @@ -33,6 +33,10 @@ 4 2 + + 110dp + -1dp + 140dp diff --git a/res/values-sw720dp-port/dimens.xml b/res/values-sw720dp-port/dimens.xml index fbc0799..7ab2565 100644 --- a/res/values-sw720dp-port/dimens.xml +++ b/res/values-sw720dp-port/dimens.xml @@ -35,8 +35,8 @@ 102dp 102dp - 72dp - 72dp + 16dp + 16dp 100dp @@ -44,8 +44,8 @@ 2 - 72dp - 72dp + @dimen/qsb_padding_left + @dimen/qsb_padding_right 14dp diff --git a/res/values-sw720dp/dimens.xml b/res/values-sw720dp/dimens.xml index 6e1727d..326003a 100644 --- a/res/values-sw720dp/dimens.xml +++ b/res/values-sw720dp/dimens.xml @@ -28,7 +28,6 @@ 12dp 82dp @dimen/button_bar_height_plus_padding - 58dp 8dip @@ -37,8 +36,8 @@ 60dp 60dp - 177dp - 177dp + 60dp + 60dp 230dp @@ -96,8 +95,8 @@ 0dp - 177dp - 177dp + @dimen/qsb_padding_left + @dimen/qsb_padding_right 0dp 0dp -- cgit v1.1