From 2b8e44577096a737b97c6687fc8ad1f067ea1e89 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Fri, 26 Aug 2011 18:12:08 -0700 Subject: Tweaking grid spacing (5162387) Change-Id: I67ebe3484f504d5f987486c80d4d21db3c2e06e1 --- res/layout-land/hotseat.xml | 17 +++++++++------- res/layout-land/launcher.xml | 8 +++----- res/layout-port/hotseat.xml | 16 ++++++++------- res/layout-port/launcher.xml | 6 ++---- res/layout/qsb_bar.xml | 1 + res/layout/workspace_screen.xml | 4 ++-- res/values-h560dp/config.xml | 21 +++++++++++++++++++ res/values-h560dp/dimens.xml | 45 +++++++++++++++++++++++++++++++++++++++++ res/values-h560dp/styles.xml | 28 +++++++++++++++++++++++++ res/values-land/config.xml | 18 +++++++++++++++++ res/values-land/dimens.xml | 5 ++++- res/values-land/styles.xml | 8 +++++++- res/values-large/config.xml | 2 ++ res/values-port/styles.xml | 2 +- res/values-w560dp/dimens.xml | 45 +++++++++++++++++++++++++++++++++++++++++ res/values-w560dp/styles.xml | 28 +++++++++++++++++++++++++ res/values/config.xml | 2 ++ res/values/dimens.xml | 11 +++++++--- res/values/strings.xml | 2 +- res/values/styles.xml | 6 ++++++ 20 files changed, 243 insertions(+), 32 deletions(-) create mode 100644 res/values-h560dp/config.xml create mode 100644 res/values-h560dp/dimens.xml create mode 100644 res/values-h560dp/styles.xml create mode 100644 res/values-w560dp/dimens.xml create mode 100644 res/values-w560dp/styles.xml (limited to 'res') diff --git a/res/layout-land/hotseat.xml b/res/layout-land/hotseat.xml index dca30bf..f6d2347 100644 --- a/res/layout-land/hotseat.xml +++ b/res/layout-land/hotseat.xml @@ -16,18 +16,21 @@ diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 5af49a2..2b25bbb 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -66,11 +66,9 @@ - + layout="@layout/qsb_bar" /> diff --git a/res/layout-port/hotseat.xml b/res/layout-port/hotseat.xml index 19da944..ee59a6a 100644 --- a/res/layout-port/hotseat.xml +++ b/res/layout-port/hotseat.xml @@ -16,19 +16,21 @@ diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index 1bd8d7c..b45800e 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -67,11 +67,9 @@ - + layout="@layout/qsb_bar" /> diff --git a/res/layout/workspace_screen.xml b/res/layout/workspace_screen.xml index c7d30ce..23e1def 100644 --- a/res/layout/workspace_screen.xml +++ b/res/layout/workspace_screen.xml @@ -27,6 +27,6 @@ launcher:cellWidth="@dimen/workspace_cell_width" launcher:cellHeight="@dimen/workspace_cell_height" - launcher:widthGap="-1dp" - launcher:heightGap="-1dp" + launcher:widthGap="@dimen/workspace_width_gap" + launcher:heightGap="@dimen/workspace_height_gap" launcher:maxGap="@dimen/workspace_max_gap" /> diff --git a/res/values-h560dp/config.xml b/res/values-h560dp/config.xml new file mode 100644 index 0000000..d1f3085 --- /dev/null +++ b/res/values-h560dp/config.xml @@ -0,0 +1,21 @@ + + + + + + + true + diff --git a/res/values-h560dp/dimens.xml b/res/values-h560dp/dimens.xml new file mode 100644 index 0000000..4894fc4 --- /dev/null +++ b/res/values-h560dp/dimens.xml @@ -0,0 +1,45 @@ + + + + + + 0dp + 0dp + -1dp + -1dp + -1dp + -1dp + 20dp + 20dp + + 0dp + 0dp + -1dp + -1dp + -1dp + -1dp + + 48dp + + 80dip + + 8dp + 8dp + 8dp + 8dp + 80dp + diff --git a/res/values-h560dp/styles.xml b/res/values-h560dp/styles.xml new file mode 100644 index 0000000..84d43df --- /dev/null +++ b/res/values-h560dp/styles.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/res/values-land/config.xml b/res/values-land/config.xml index adbc015..2fee8cf 100644 --- a/res/values-land/config.xml +++ b/res/values-land/config.xml @@ -1,5 +1,23 @@ + + + false + + true diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml index 55a25ec..da42b85 100644 --- a/res/values-land/dimens.xml +++ b/res/values-land/dimens.xml @@ -41,7 +41,10 @@ 68dip - 8dp + 8dp + 0dp + 0dp + 0dp 76dp diff --git a/res/values-land/styles.xml b/res/values-land/styles.xml index 437a511..104da63 100644 --- a/res/values-land/styles.xml +++ b/res/values-land/styles.xml @@ -21,9 +21,15 @@ + diff --git a/res/values-w560dp/dimens.xml b/res/values-w560dp/dimens.xml new file mode 100644 index 0000000..b08159b --- /dev/null +++ b/res/values-w560dp/dimens.xml @@ -0,0 +1,45 @@ + + + + + + 0dp + 0dp + -1dp + -1dp + -1dp + -1dp + 20dp + 20dp + + 0dp + 0dp + -1dp + -1dp + -1dp + -1dp + + 48dp + + 80dip + + 8dp + 8dp + 8dp + 8dp + 80dp + diff --git a/res/values-w560dp/styles.xml b/res/values-w560dp/styles.xml new file mode 100644 index 0000000..edd63a4 --- /dev/null +++ b/res/values-w560dp/styles.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/res/values/config.xml b/res/values/config.xml index e88a83e..76c9be8 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -44,6 +44,8 @@ true + + false 100 diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 0d44db8..0111a9c 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -22,8 +22,6 @@ 40dp 80dp 100dp - 64dp - 64dp -1dp -1dp 16dp @@ -33,6 +31,10 @@ 12dp 0dp 0dp + 64dp + 64dp + -1dp + -1dp 0dip @@ -53,7 +55,10 @@ 64dip - 8dp + 8dp + 0dp + 0dp + 0dp 72dp diff --git a/res/values/strings.xml b/res/values/strings.xml index a238eb4..65ed04b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -149,7 +149,7 @@ s --> Notifications - System Settings + System settings Help diff --git a/res/values/styles.xml b/res/values/styles.xml index 6e1ae6a..b510566 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -108,6 +108,12 @@ 6dp +