From 588e61aa055eff73c968e2b8f45b6848bd8f7766 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Fri, 27 Jun 2014 19:40:20 -0700 Subject: [WifiSetup] L layout update Changed the layout based on the new design mocks. Copied over StickyHeaderListView and SetupWizardHeader. Currently using the generic illustration but will update to Wifi setup specific version once we get them. Change-Id: I22bdef8c9860d419be55938e1e4a6a682db5b7e8 --- res/drawable-nodpi/grass_tile.jpg | Bin 0 -> 9702 bytes res/drawable-nodpi/illustration_wifi.jpg | Bin 0 -> 58441 bytes res/drawable/grass.xml | 20 ++++ res/layout-land/setup_preference.xml | 63 +++++++++++++ res/layout/setup_preference.xml | 156 +++++-------------------------- res/layout/setup_wifi_add_network.xml | 32 +++++++ res/layout/setup_wizard_header.xml | 35 +++++++ res/values-sw600dp/dimens.xml | 7 +- res/values/colors.xml | 1 + res/values/dimens.xml | 15 ++- res/values/strings.xml | 2 +- res/values/styles.xml | 21 ++++- res/values/themes.xml | 14 ++- 13 files changed, 215 insertions(+), 151 deletions(-) create mode 100644 res/drawable-nodpi/grass_tile.jpg create mode 100644 res/drawable-nodpi/illustration_wifi.jpg create mode 100644 res/drawable/grass.xml create mode 100644 res/layout-land/setup_preference.xml create mode 100644 res/layout/setup_wifi_add_network.xml create mode 100644 res/layout/setup_wizard_header.xml (limited to 'res') diff --git a/res/drawable-nodpi/grass_tile.jpg b/res/drawable-nodpi/grass_tile.jpg new file mode 100644 index 0000000..7aef32c Binary files /dev/null and b/res/drawable-nodpi/grass_tile.jpg differ diff --git a/res/drawable-nodpi/illustration_wifi.jpg b/res/drawable-nodpi/illustration_wifi.jpg new file mode 100644 index 0000000..0c03199 Binary files /dev/null and b/res/drawable-nodpi/illustration_wifi.jpg differ diff --git a/res/drawable/grass.xml b/res/drawable/grass.xml new file mode 100644 index 0000000..2fb5bd9 --- /dev/null +++ b/res/drawable/grass.xml @@ -0,0 +1,20 @@ + + + + diff --git a/res/layout-land/setup_preference.xml b/res/layout-land/setup_preference.xml new file mode 100644 index 0000000..e79f5c1 --- /dev/null +++ b/res/layout-land/setup_preference.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + diff --git a/res/layout/setup_preference.xml b/res/layout/setup_preference.xml index c5d686f..46829c0 100644 --- a/res/layout/setup_preference.xml +++ b/res/layout/setup_preference.xml @@ -16,142 +16,34 @@ ** limitations under the License. */ --> - - + + + + + android:cacheColorHint="@android:color/transparent" + android:clipToPadding="false" + android:drawSelectorOnTop="false" + android:headerDividersEnabled="false" + android:scrollbarAlwaysDrawVerticalTrack="true" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + style="@style/setup_wizard_navbar_style" /> + diff --git a/res/layout/setup_wifi_add_network.xml b/res/layout/setup_wifi_add_network.xml new file mode 100644 index 0000000..c62f983 --- /dev/null +++ b/res/layout/setup_wifi_add_network.xml @@ -0,0 +1,32 @@ + + + + + + + + diff --git a/res/layout/setup_wizard_header.xml b/res/layout/setup_wizard_header.xml new file mode 100644 index 0000000..e2e2b0e --- /dev/null +++ b/res/layout/setup_wizard_header.xml @@ -0,0 +1,35 @@ + + + + + + + + diff --git a/res/values-sw600dp/dimens.xml b/res/values-sw600dp/dimens.xml index ffd6ac0..d35d973 100755 --- a/res/values-sw600dp/dimens.xml +++ b/res/values-sw600dp/dimens.xml @@ -24,12 +24,7 @@ 16dip 26dip 120sp - 60dp - 20% - 10% - 0dip - 48dip - 32dip + 24sp 325dip 50dip diff --git a/res/values/colors.xml b/res/values/colors.xml index ed1b3d3..0b3ea39 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -39,6 +39,7 @@ @android:color/holo_blue_light #33ffffff #33000000 + #ff009587 #ffffffff #80000000 diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 992e57f..969f575 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -38,12 +38,17 @@ 100sp - 15% - 5% 0dip - 25dp - 32dip - 16dip + 24sp + 16dp + + 3.67sp + 2dp + 16dp + + 56dp + 56dp + 40dp 3dip 6dip diff --git a/res/values/strings.xml b/res/values/strings.xml index bf975e2..d4ee72f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1372,7 +1372,7 @@ You don\'t have permission to change the Wi\u2011Fi network. - Other network\u2026 + Add another network More diff --git a/res/values/styles.xml b/res/values/styles.xml index 0f7e652..cea615e 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -152,11 +152,26 @@ + +