From 5cd7211ce633c45655d3baa67b6e46ff8f409c75 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 23 Apr 2013 18:19:38 +0900 Subject: [PATCH] Tune setup wizard layout for landscape and tablet Bug: 8159728 Change-Id: Ic2206d50562d62578f8e5e50bbd3c36625dbafb7 --- .../setup-dimens-large-tablet-port.xml | 40 +++++++++++++++++++ .../setup-dimens-large-phone-land.xml | 40 +++++++++++++++++++ .../setup-dimens-small-tablet-land.xml | 40 +++++++++++++++++++ .../setup-dimens-large-phone-port.xml} | 2 + .../setup-dimens-large-tablet-land.xml | 40 +++++++++++++++++++ .../setup-dimens-small-tablet-port.xml | 40 +++++++++++++++++++ .../setup-dimens-small-phone-land.xml | 40 +++++++++++++++++++ .../setup-dimens-small-phone-port.xml | 40 +++++++++++++++++++ java/res/values-sw600dp-land/setup-dimens.xml | 21 ---------- java/res/values-sw768dp-land/setup-dimens.xml | 21 ---------- 10 files changed, 282 insertions(+), 42 deletions(-) create mode 100644 java/res/values-h1200dp-port/setup-dimens-large-tablet-port.xml create mode 100644 java/res/values-h330dp-land/setup-dimens-large-phone-land.xml create mode 100644 java/res/values-h520dp-land/setup-dimens-small-tablet-land.xml rename java/res/{values/setup-dimens.xml => values-h540dp-port/setup-dimens-large-phone-port.xml} (94%) create mode 100644 java/res/values-h720dp-land/setup-dimens-large-tablet-land.xml create mode 100644 java/res/values-h800dp-port/setup-dimens-small-tablet-port.xml create mode 100644 java/res/values-land/setup-dimens-small-phone-land.xml create mode 100644 java/res/values-port/setup-dimens-small-phone-port.xml delete mode 100644 java/res/values-sw600dp-land/setup-dimens.xml delete mode 100644 java/res/values-sw768dp-land/setup-dimens.xml diff --git a/java/res/values-h1200dp-port/setup-dimens-large-tablet-port.xml b/java/res/values-h1200dp-port/setup-dimens-large-tablet-port.xml new file mode 100644 index 000000000..ad61c1a3a --- /dev/null +++ b/java/res/values-h1200dp-port/setup-dimens-large-tablet-port.xml @@ -0,0 +1,40 @@ + + + + + + 72sp + 36sp + 24sp + 24dp + 24dp + 24sp + 18sp + 20sp + 96dp + 144dp + 48dp + 24dp + 12dp + 16dp + 2dp + 40 + 60 + 24dp + 50 + 25 + 25 + diff --git a/java/res/values-h330dp-land/setup-dimens-large-phone-land.xml b/java/res/values-h330dp-land/setup-dimens-large-phone-land.xml new file mode 100644 index 000000000..69a8a7ad5 --- /dev/null +++ b/java/res/values-h330dp-land/setup-dimens-large-phone-land.xml @@ -0,0 +1,40 @@ + + + + + + 42sp + 24sp + 22sp + 24dp + 24dp + 22sp + 14sp + 18sp + 16dp + 16dp + 48dp + 24dp + 12dp + 16dp + 2dp + 40 + 60 + 24dp + 80 + 10 + 10 + diff --git a/java/res/values-h520dp-land/setup-dimens-small-tablet-land.xml b/java/res/values-h520dp-land/setup-dimens-small-tablet-land.xml new file mode 100644 index 000000000..6a14d5918 --- /dev/null +++ b/java/res/values-h520dp-land/setup-dimens-small-tablet-land.xml @@ -0,0 +1,40 @@ + + + + + + 56sp + 28sp + 24sp + 24dp + 24dp + 24sp + 18sp + 20sp + 32dp + 96dp + 48dp + 24dp + 12dp + 16dp + 2dp + 40 + 60 + 24dp + 60 + 20 + 20 + diff --git a/java/res/values/setup-dimens.xml b/java/res/values-h540dp-port/setup-dimens-large-phone-port.xml similarity index 94% rename from java/res/values/setup-dimens.xml rename to java/res/values-h540dp-port/setup-dimens-large-phone-port.xml index 5abc28982..b8dd33df4 100644 --- a/java/res/values/setup-dimens.xml +++ b/java/res/values-h540dp-port/setup-dimens-large-phone-port.xml @@ -15,10 +15,12 @@ --> + 46sp 26sp 22sp 24dp + 24dp 22sp 14sp 18sp diff --git a/java/res/values-h720dp-land/setup-dimens-large-tablet-land.xml b/java/res/values-h720dp-land/setup-dimens-large-tablet-land.xml new file mode 100644 index 000000000..0004a3c85 --- /dev/null +++ b/java/res/values-h720dp-land/setup-dimens-large-tablet-land.xml @@ -0,0 +1,40 @@ + + + + + + 58sp + 28sp + 24sp + 24dp + 24dp + 24sp + 18sp + 20sp + 96dp + 192dp + 48dp + 24dp + 12dp + 16dp + 2dp + 40 + 60 + 24dp + 50 + 25 + 25 + diff --git a/java/res/values-h800dp-port/setup-dimens-small-tablet-port.xml b/java/res/values-h800dp-port/setup-dimens-small-tablet-port.xml new file mode 100644 index 000000000..87c991c4d --- /dev/null +++ b/java/res/values-h800dp-port/setup-dimens-small-tablet-port.xml @@ -0,0 +1,40 @@ + + + + + + 72sp + 36sp + 24sp + 24dp + 24dp + 24sp + 18sp + 20sp + 32dp + 64dp + 48dp + 24dp + 12dp + 16dp + 2dp + 40 + 60 + 24dp + 60 + 20 + 20 + diff --git a/java/res/values-land/setup-dimens-small-phone-land.xml b/java/res/values-land/setup-dimens-small-phone-land.xml new file mode 100644 index 000000000..63f4661d1 --- /dev/null +++ b/java/res/values-land/setup-dimens-small-phone-land.xml @@ -0,0 +1,40 @@ + + + + + + 36sp + 18sp + 18sp + 18dp + 18dp + 18sp + 14sp + 16sp + 12dp + 12dp + 42dp + 20dp + 10dp + 12dp + 2dp + 40 + 60 + 24dp + 80 + 10 + 10 + diff --git a/java/res/values-port/setup-dimens-small-phone-port.xml b/java/res/values-port/setup-dimens-small-phone-port.xml new file mode 100644 index 000000000..34f4d9240 --- /dev/null +++ b/java/res/values-port/setup-dimens-small-phone-port.xml @@ -0,0 +1,40 @@ + + + + + + 40sp + 20sp + 18sp + 18dp + 18dp + 18sp + 14sp + 16sp + 12dp + 12dp + 42dp + 20dp + 10dp + 12dp + 2dp + 40 + 60 + 16dp + 80 + 10 + 10 + diff --git a/java/res/values-sw600dp-land/setup-dimens.xml b/java/res/values-sw600dp-land/setup-dimens.xml deleted file mode 100644 index e5051eac7..000000000 --- a/java/res/values-sw600dp-land/setup-dimens.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - 64sp - 36sp - 96dp - diff --git a/java/res/values-sw768dp-land/setup-dimens.xml b/java/res/values-sw768dp-land/setup-dimens.xml deleted file mode 100644 index 34b7f429d..000000000 --- a/java/res/values-sw768dp-land/setup-dimens.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - 64sp - 36sp - 192dp -