summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2015-04-18 20:11:59 -0700
committerMaurice Lam <yukl@google.com>2015-04-21 10:19:35 -0700
commit83301b5256e3fd930d620e8e9ad5f43cd388ba09 (patch)
tree71e2c358fabf8aee6166177d0dcb34efc5215609 /res
parentc3385dc11bacdcc4d8e7d614fd7133bb9e609cdb (diff)
downloadpackages_apps_Settings-83301b5256e3fd930d620e8e9ad5f43cd388ba09.zip
packages_apps_Settings-83301b5256e3fd930d620e8e9ad5f43cd388ba09.tar.gz
packages_apps_Settings-83301b5256e3fd930d620e8e9ad5f43cd388ba09.tar.bz2
[Setup] Use SetupWizardLayout
Use SetupWizardLayout for the screens that show in Settings to get better visual consistency and new features like showing a progress bar in list view. Bug: 19594252 Change-Id: I53ab17a4c2d922a362e3762f1cdccb512f7d8f6e
Diffstat (limited to 'res')
-rw-r--r--res/drawable/setup_illustration.xml26
-rw-r--r--res/drawable/setup_illustration_bg.xml20
-rw-r--r--res/drawable/setup_wizard_card_bg.xml13
-rw-r--r--res/layout-land/setup_preference.xml56
-rw-r--r--res/layout-land/setup_template.xml68
-rw-r--r--res/layout-sw600dp-land/setup_preference.xml78
-rw-r--r--res/layout-sw600dp-land/setup_template.xml74
-rw-r--r--res/layout-sw600dp/setup_preference.xml77
-rw-r--r--res/layout-sw600dp/setup_template.xml74
-rw-r--r--res/layout/setup_choose_lock_generic.xml26
-rw-r--r--res/layout/setup_choose_lock_password.xml118
-rw-r--r--res/layout/setup_choose_lock_pattern.xml123
-rw-r--r--res/layout/setup_preference.xml40
-rw-r--r--res/layout/setup_screen_lock_fingerprint_details.xml4
-rw-r--r--res/layout/setup_template.xml75
-rw-r--r--res/layout/setup_wifi_empty.xml4
-rw-r--r--res/layout/setup_wifi_layout.xml (renamed from res/drawable-sw600dp/setup_illustration.xml)27
-rw-r--r--res/layout/setup_wizard_header.xml38
-rwxr-xr-xres/values-land/dimens.xml5
-rwxr-xr-xres/values-sw600dp/dimens.xml1
-rwxr-xr-xres/values/dimens.xml18
-rw-r--r--res/values/styles.xml39
-rw-r--r--res/values/themes.xml8
23 files changed, 176 insertions, 836 deletions
diff --git a/res/drawable/setup_illustration.xml b/res/drawable/setup_illustration.xml
deleted file mode 100644
index f8d96d5..0000000
--- a/res/drawable/setup_illustration.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
- android:autoMirrored="true">
-
- <item android:id="@+id/illustration_image">
- <bitmap android:src="@drawable/setup_illustration_wifi"
- android:gravity="fill" />
- </item>
-
-</layer-list>
diff --git a/res/drawable/setup_illustration_bg.xml b/res/drawable/setup_illustration_bg.xml
deleted file mode 100644
index 0a229c7..0000000
--- a/res/drawable/setup_illustration_bg.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
- android:src="@drawable/setup_illustration_tile"
- android:tileMode="repeat" />
diff --git a/res/drawable/setup_wizard_card_bg.xml b/res/drawable/setup_wizard_card_bg.xml
deleted file mode 100644
index 8621437..0000000
--- a/res/drawable/setup_wizard_card_bg.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="rectangle">
-
- <corners
- android:topLeftRadius="@dimen/setup_wizard_card_corner_radius"
- android:topRightRadius="@dimen/setup_wizard_card_corner_radius" />
-
- <solid android:color="?android:attr/colorBackground" />
-
-</shape>
-
diff --git a/res/layout-land/setup_preference.xml b/res/layout-land/setup_preference.xml
deleted file mode 100644
index bee46ed..0000000
--- a/res/layout-land/setup_preference.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (c) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <FrameLayout
- android:id="@+id/title_area"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/setup_illustration_bg"
- android:elevation="@dimen/setup_wizard_title_area_elevation">
-
- <TextView
- android:id="@+id/title"
- style="@style/SetupTitle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/wifi_setup_wizard_title" />
-
- </FrameLayout>
-
- <ListView
- android:id="@android:id/list"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:cacheColorHint="@android:color/transparent"
- android:clipToPadding="false"
- android:drawSelectorOnTop="false"
- android:headerDividersEnabled="false"
- android:scrollbarAlwaysDrawVerticalTrack="true" />
-
- <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
- android:id="@+id/navigation_bar"
- style="@style/setup_wizard_navbar_style" />
-
-</LinearLayout>
-
diff --git a/res/layout-land/setup_template.xml b/res/layout-land/setup_template.xml
deleted file mode 100644
index cc3402f..0000000
--- a/res/layout-land/setup_template.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <RelativeLayout
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp">
-
- <FrameLayout
- android:id="@+id/title_area"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:background="@drawable/setup_illustration_bg"
- android:elevation="@dimen/setup_wizard_title_area_elevation">
-
- <TextView
- android:id="@+id/title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/wifi_setup_title"
- style="@style/SetupTitle"/>
- </FrameLayout>
-
- <ScrollView
- android:id="@+id/bottom_scroll_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/title_area"
- android:layout_alignParentBottom="true"
- android:fillViewport="true">
-
- <FrameLayout android:id="@+id/setup_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipChildren="false"/>
-
- </ScrollView>
-
- </RelativeLayout>
-
- <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
- android:id="@+id/navigation_bar"
- android:layout_width="match_parent"
- android:layout_height="56dip"
- style="@style/setup_wizard_navbar_style"/>
-</LinearLayout>
-
diff --git a/res/layout-sw600dp-land/setup_preference.xml b/res/layout-sw600dp-land/setup_preference.xml
deleted file mode 100644
index 883d1de..0000000
--- a/res/layout-sw600dp-land/setup_preference.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (c) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <com.android.settings.widget.SetupWizardIllustration
- android:id="@+id/setup_illustration"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:foreground="@drawable/setup_illustration"
- android:background="@drawable/setup_illustration_bg">
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="start|top"
- android:weightSum="16">
-
- <TextView
- android:id="@+id/title"
- style="@style/SetupCardTitle"
- android:layout_width="1dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/setup_wizard_tablet_illustration_height"
- android:layout_weight="6"
- android:text="@string/wifi_setup_wizard_title"/>
-
- <LinearLayout
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/setup_wizard_card_land_margin_top"
- android:layout_weight="8"
- android:background="@drawable/setup_wizard_card_bg"
- android:elevation="@dimen/setup_wizard_card_elevation"
- android:orientation="vertical">
-
- <ListView
- android:id="@android:id/list"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:cacheColorHint="@android:color/transparent"
- android:clipToPadding="false"
- android:drawSelectorOnTop="false"
- android:headerDividersEnabled="false"
- android:scrollbarAlwaysDrawVerticalTrack="true" />
-
- </LinearLayout>
-
- </LinearLayout>
-
- </com.android.settings.widget.SetupWizardIllustration>
-
- <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
- android:id="@+id/navigation_bar"
- style="@style/setup_wizard_navbar_style" />
-
-</LinearLayout>
-
diff --git a/res/layout-sw600dp-land/setup_template.xml b/res/layout-sw600dp-land/setup_template.xml
deleted file mode 100644
index a58dd3d..0000000
--- a/res/layout-sw600dp-land/setup_template.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <com.android.settings.widget.SetupWizardIllustration
- android:id="@+id/setup_illustration"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:background="@drawable/setup_illustration_bg"
- android:foreground="@drawable/setup_illustration">
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="start|top"
- android:weightSum="16">
-
- <TextView
- android:id="@+id/title"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/setup_wizard_tablet_illustration_height"
- android:layout_weight="6"
- android:text="@string/wifi_setup_title"
- style="@style/SetupCardTitle"/>
-
- <ScrollView
- android:id="@+id/bottom_scroll_view"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/setup_wizard_card_land_margin_top"
- android:layout_weight="8"
- android:background="@drawable/setup_wizard_card_bg"
- android:elevation="@dimen/setup_wizard_card_elevation"
- android:fillViewport="true">
-
- <FrameLayout android:id="@+id/setup_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipChildren="false"/>
-
- </ScrollView>
-
- </LinearLayout>
-
- </com.android.settings.widget.SetupWizardIllustration>
-
- <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
- android:id="@+id/navigation_bar"
- android:layout_width="match_parent"
- android:layout_height="56dip"
- style="@style/setup_wizard_navbar_style"/>
-
-</LinearLayout>
-
diff --git a/res/layout-sw600dp/setup_preference.xml b/res/layout-sw600dp/setup_preference.xml
deleted file mode 100644
index cc12003..0000000
--- a/res/layout-sw600dp/setup_preference.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 Google Inc.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <com.android.settings.widget.SetupWizardIllustration
- android:id="@+id/setup_illustration"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:background="@drawable/setup_illustration_bg"
- android:foreground="@drawable/setup_illustration">
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/setup_wizard_tablet_illustration_height"
- android:orientation="vertical"
- android:paddingLeft="@dimen/setup_wizard_card_port_margin_sides"
- android:paddingRight="@dimen/setup_wizard_card_port_margin_sides">
-
- <TextView
- android:id="@+id/title"
- style="@style/SetupCardTitle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/wifi_setup_wizard_title" />
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:background="@drawable/setup_wizard_card_bg"
- android:elevation="@dimen/setup_wizard_card_elevation"
- android:orientation="vertical">
-
- <ListView
- android:id="@android:id/list"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:cacheColorHint="@android:color/transparent"
- android:clipToPadding="false"
- android:drawSelectorOnTop="false"
- android:headerDividersEnabled="false"
- android:scrollbarAlwaysDrawVerticalTrack="true" />
-
- </LinearLayout>
-
- </LinearLayout>
-
- </com.android.settings.widget.SetupWizardIllustration>
-
- <fragment
- android:id="@+id/navigation_bar"
- android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
- style="@style/setup_wizard_navbar_style" />
-
-</LinearLayout>
-
diff --git a/res/layout-sw600dp/setup_template.xml b/res/layout-sw600dp/setup_template.xml
deleted file mode 100644
index 297e9fb..0000000
--- a/res/layout-sw600dp/setup_template.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <com.android.settings.widget.SetupWizardIllustration
- android:id="@+id/setup_illustration"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:background="@drawable/setup_illustration_bg"
- android:foreground="@drawable/setup_illustration">
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/setup_wizard_tablet_illustration_height"
- android:orientation="vertical"
- android:paddingStart="@dimen/setup_wizard_card_port_margin_sides"
- android:paddingEnd="@dimen/setup_wizard_card_port_margin_sides">
-
- <TextView
- android:id="@+id/title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/wifi_setup_title"
- style="@style/SetupCardTitle"/>
-
- <ScrollView
- android:id="@+id/bottom_scroll_view"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:background="@drawable/setup_wizard_card_bg"
- android:elevation="@dimen/setup_wizard_card_elevation"
- android:fillViewport="true">
-
- <FrameLayout
- android:id="@+id/setup_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipChildren="false"/>
-
- </ScrollView>
-
- </LinearLayout>
-
- </com.android.settings.widget.SetupWizardIllustration>
-
- <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
- android:id="@+id/navigation_bar"
- android:layout_width="match_parent"
- android:layout_height="56dip"
- style="@style/setup_wizard_navbar_style"/>
-
-</LinearLayout>
-
diff --git a/res/layout/setup_choose_lock_generic.xml b/res/layout/setup_choose_lock_generic.xml
new file mode 100644
index 0000000..3b3b5e7
--- /dev/null
+++ b/res/layout/setup_choose_lock_generic.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2015, The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<com.android.setupwizardlib.SetupWizardListLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ settings:suwBackgroundTile="@drawable/setup_illustration_tile"
+ settings:suwHeaderText="@string/wifi_setup_wizard_title"
+ settings:suwIllustrationHorizontalTile="@drawable/setup_illustration_horizontal_tile"
+ settings:suwIllustrationImage="@drawable/setup_illustration_lock_screen" />
diff --git a/res/layout/setup_choose_lock_password.xml b/res/layout/setup_choose_lock_password.xml
index 59fa523..3ec5241 100644
--- a/res/layout/setup_choose_lock_password.xml
+++ b/res/layout/setup_choose_lock_password.xml
@@ -15,70 +15,82 @@
limitations under the License.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.android.setupwizardlib.SetupWizardLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:gravity="center_horizontal"
- android:orientation="vertical">
+ settings:suwBackgroundTile="@drawable/setup_illustration_tile"
+ settings:suwHeaderText="@string/wifi_setup_wizard_title"
+ settings:suwIllustrationHorizontalTile="@drawable/setup_illustration_horizontal_tile"
+ settings:suwIllustrationImage="@drawable/setup_illustration_lock_screen">
- <!-- header text ('Enter Pin') -->
- <TextView android:id="@+id/headerText"
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:lines="2"
- android:textAppearance="?android:attr/textAppearanceMedium"/>
+ android:layout_height="match_parent"
+ android:gravity="center_horizontal"
+ android:orientation="vertical">
- <!-- Password entry field -->
- <EditText android:id="@+id/password_entry"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginStart="30dip"
- android:layout_marginEnd="30dip"
- android:gravity="center"
- android:inputType="textPassword"
- android:imeOptions="actionNext|flagNoExtractUi"
- android:textSize="24sp"
- style="@style/TextAppearance.PasswordEntry"/>
+ <!-- header text ('Enter Pin') -->
+ <TextView android:id="@+id/headerText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:lines="2"
+ android:textAppearance="?android:attr/textAppearanceMedium"/>
- <!-- Spacer between password entry and keyboard -->
- <View
- android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="1"/>
+ <!-- Password entry field -->
+ <EditText android:id="@+id/password_entry"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:layout_marginStart="30dip"
+ android:layout_marginEnd="30dip"
+ android:gravity="center"
+ android:inputType="textPassword"
+ android:imeOptions="actionNext|flagNoExtractUi"
+ android:textSize="24sp"
+ style="@style/TextAppearance.PasswordEntry"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:visibility="gone"
- style="@style/SecurityPreferenceButtonContainer">
+ <!-- Spacer between password entry and keyboard -->
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"/>
- <!-- left : cancel -->
- <Button android:id="@+id/cancel_button"
- android:layout_width="0dip"
+ <LinearLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/lockpassword_cancel_label"
- style="@style/SecurityPreferenceButton"/>
+ android:orientation="horizontal"
+ android:visibility="gone"
+ style="@style/SecurityPreferenceButtonContainer">
+
+ <!-- left : cancel -->
+ <Button android:id="@+id/cancel_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/lockpassword_cancel_label"
+ style="@style/SecurityPreferenceButton"/>
+
+ <!-- right : continue -->
+ <Button android:id="@+id/next_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/lockpassword_continue_label"
+ style="@style/SecurityPreferenceButton"/>
- <!-- right : continue -->
- <Button android:id="@+id/next_button"
- android:layout_width="0dip"
+ </LinearLayout>
+
+ <!-- Alphanumeric keyboard -->
+ <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/lockpassword_continue_label"
- style="@style/SecurityPreferenceButton"/>
+ android:background="#00000000"
+ android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans"
+ android:visibility="gone"/>
</LinearLayout>
- <!-- Alphanumeric keyboard -->
- <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#00000000"
- android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans"
- android:visibility="gone"/>
-
-</LinearLayout>
+</com.android.setupwizardlib.SetupWizardLayout>
diff --git a/res/layout/setup_choose_lock_pattern.xml b/res/layout/setup_choose_lock_pattern.xml
index a906826..00c7018 100644
--- a/res/layout/setup_choose_lock_pattern.xml
+++ b/res/layout/setup_choose_lock_pattern.xml
@@ -15,80 +15,91 @@
limitations under the License.
-->
-<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
+<com.android.setupwizardlib.SetupWizardLayout
xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/topLayout"
+ xmlns:settings="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical">
+ settings:suwBackgroundTile="@drawable/setup_illustration_tile"
+ settings:suwHeaderText="@string/wifi_setup_wizard_title"
+ settings:suwIllustrationHorizontalTile="@drawable/setup_illustration_horizontal_tile"
+ settings:suwIllustrationImage="@drawable/setup_illustration_lock_screen">
- <!-- takes up all space above button bar at bottom -->
- <LinearLayout
+ <com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
+ android:id="@+id/topLayout"
android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="1"
- android:gravity="center"
+ android:layout_height="match_parent"
android:orientation="vertical">
- <TextView android:id="@+id/headerText"
+ <!-- takes up all space above button bar at bottom -->
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
android:gravity="center"
- android:minHeight="50dp"
- android:textSize="18sp"/>
+ android:orientation="vertical">
- <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
- android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="4"
- android:background="@color/lock_pattern_background"/>
+ <TextView android:id="@+id/headerText"
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:minHeight="50dip"
+ android:textSize="18sp"/>
- </LinearLayout>
+ <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="4"
+ android:background="@color/lock_pattern_background"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:orientation="horizontal">
+ </LinearLayout>
- <Button android:id="@+id/retryButton"
- android:layout_width="wrap_content"
+ <LinearLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="@string/lockpattern_retry_button_text"/>
+ android:gravity="center_horizontal"
+ android:orientation="horizontal">
- <TextView android:id="@+id/footerText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:minHeight="50dp"
- android:textSize="14sp"/>
+ <Button android:id="@+id/retryButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/lockpattern_retry_button_text"/>
- </LinearLayout>
+ <TextView android:id="@+id/footerText"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:minHeight="50dip"
+ android:textSize="14sp"/>
- <!-- Buttons are hidden during setup, and use the buttons in setup navigation bar instead -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:visibility="gone"
- style="@style/SecurityPreferenceButtonContainer">
-
- <!-- left : cancel, or re-try -->
- <Button android:id="@+id/footerLeftButton"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/lockpattern_tutorial_cancel_label"
- style="@style/SecurityPreferenceButton"/>
+ </LinearLayout>
- <!-- right : confirm or ok -->
- <Button android:id="@+id/footerRightButton"
- android:layout_width="0dip"
+ <!-- Buttons are hidden during setup, and use the buttons in setup navigation bar instead -->
+ <LinearLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/lockpattern_tutorial_continue_label"
- style="@style/SecurityPreferenceButton"/>
-
- </LinearLayout>
-
-</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>
+ android:orientation="horizontal"
+ android:visibility="gone"
+ style="@style/SecurityPreferenceButtonContainer">
+
+ <!-- left : cancel, or re-try -->
+ <Button android:id="@+id/footerLeftButton"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/lockpattern_tutorial_cancel_label"
+ style="@style/SecurityPreferenceButton"/>
+
+ <!-- right : confirm or ok -->
+ <Button android:id="@+id/footerRightButton"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/lockpattern_tutorial_continue_label"
+ style="@style/SecurityPreferenceButton"/>
+
+ </LinearLayout>
+
+ </com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>
+
+</com.android.setupwizardlib.SetupWizardLayout>
diff --git a/res/layout/setup_preference.xml b/res/layout/setup_preference.xml
deleted file mode 100644
index d07d4a3..0000000
--- a/res/layout/setup_preference.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2012, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-** http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <com.android.settings.widget.StickyHeaderListView
- android:id="@android:id/list"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:cacheColorHint="@android:color/transparent"
- android:clipToPadding="false"
- android:drawSelectorOnTop="false"
- android:headerDividersEnabled="false"
- android:scrollbarAlwaysDrawVerticalTrack="true" />
-
- <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
- android:id="@+id/navigation_bar"
- style="@style/setup_wizard_navbar_style" />
-
-</LinearLayout>
diff --git a/res/layout/setup_screen_lock_fingerprint_details.xml b/res/layout/setup_screen_lock_fingerprint_details.xml
index 988468f..06ca778 100644
--- a/res/layout/setup_screen_lock_fingerprint_details.xml
+++ b/res/layout/setup_screen_lock_fingerprint_details.xml
@@ -20,6 +20,6 @@
android:layout_height="wrap_content"
android:paddingTop="6dip"
android:paddingBottom="6dip"
- android:paddingStart="@dimen/setup_wizard_margin_sides"
- android:paddingEnd="@dimen/setup_wizard_margin_sides"
+ android:paddingStart="@dimen/suw_layout_margin_sides"
+ android:paddingEnd="@dimen/suw_layout_margin_sides"
android:text="@string/unlock_setup_wizard_fingerprint_details" />
diff --git a/res/layout/setup_template.xml b/res/layout/setup_template.xml
deleted file mode 100644
index 0623e25..0000000
--- a/res/layout/setup_template.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <ScrollView
- android:id="@+id/bottom_scroll_view"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:fillViewport="true">
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipChildren="false">
-
- <com.android.settings.widget.SetupWizardIllustration
- android:id="@+id/setup_illustration"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:elevation="@dimen/setup_wizard_title_area_elevation"
- android:background="@drawable/setup_illustration_bg"
- android:foreground="@drawable/setup_illustration"
- android:tag="stickyContainer"
- settings:aspectRatio="2.22">
-
- <TextView
- android:id="@+id/title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:tag="sticky"
- android:text="@string/wifi_setup_title"
- style="@style/SetupTitle"/>
-
- </com.android.settings.widget.SetupWizardIllustration>
-
- <FrameLayout
- android:id="@+id/setup_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/setup_illustration"
- android:clipChildren="false"/>
-
- </RelativeLayout>
-
- </ScrollView>
-
- <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
- android:id="@+id/navigation_bar"
- android:layout_width="match_parent"
- android:layout_height="56dip"
- style="@style/setup_wizard_navbar_style"/>
-
-</LinearLayout>
-
diff --git a/res/layout/setup_wifi_empty.xml b/res/layout/setup_wifi_empty.xml
index 52864f9..b1659d7 100644
--- a/res/layout/setup_wifi_empty.xml
+++ b/res/layout/setup_wifi_empty.xml
@@ -19,6 +19,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/setup_wizard_margin_top"
- android:paddingStart="@dimen/setup_wizard_margin_sides"
- android:paddingEnd="@dimen/setup_wizard_margin_sides"
+ android:paddingStart="@dimen/suw_layout_margin_sides"
+ android:paddingEnd="@dimen/suw_layout_margin_sides"
android:textAppearance="@style/TextAppearance.SetupWizardDescription" />
diff --git a/res/drawable-sw600dp/setup_illustration.xml b/res/layout/setup_wifi_layout.xml
index c0e54e2..62bb6a1 100644
--- a/res/drawable-sw600dp/setup_illustration.xml
+++ b/res/layout/setup_wifi_layout.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 The Android Open Source Project
+ Copyright 2015, The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -15,19 +15,12 @@
limitations under the License.
-->
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
- android:autoMirrored="true">
-
- <item>
- <bitmap android:src="@drawable/setup_illustration_horizontal_tile"
- android:gravity="top"
- android:tileModeX="repeat"
- android:tileModeY="disabled" />
- </item>
-
- <item android:id="@+id/illustration_image">
- <bitmap android:src="@drawable/setup_illustration_wifi"
- android:gravity="top|start" />
- </item>
-
-</layer-list>
+<com.android.setupwizardlib.SetupWizardListLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ settings:suwBackgroundTile="@drawable/setup_illustration_tile"
+ settings:suwHeaderText="@string/wifi_setup_wizard_title"
+ settings:suwIllustrationHorizontalTile="@drawable/setup_illustration_horizontal_tile"
+ settings:suwIllustrationImage="@drawable/setup_illustration_wifi" />
diff --git a/res/layout/setup_wizard_header.xml b/res/layout/setup_wizard_header.xml
deleted file mode 100644
index b030ad1..0000000
--- a/res/layout/setup_wizard_header.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<com.android.settings.widget.SetupWizardIllustration
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
- android:id="@+id/setup_illustration"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/setup_illustration_bg"
- android:elevation="@dimen/setup_wizard_title_area_elevation"
- android:foreground="@drawable/setup_illustration"
- android:tag="stickyContainer"
- settings:aspectRatio="2.22">
-
- <TextView
- android:id="@+id/title"
- style="@style/SetupTitle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:tag="sticky"
- android:text="@string/wifi_setup_wizard_title"/>
-
-</com.android.settings.widget.SetupWizardIllustration>
diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml
index 5f524af..79529e2 100755
--- a/res/values-land/dimens.xml
+++ b/res/values-land/dimens.xml
@@ -45,9 +45,4 @@
<!-- Dashboard tile image margin start / end -->
<dimen name="dashboard_tile_image_margin_start">12dp</dimen>
- <dimen name="setup_wizard_card_title_padding_end">32dp</dimen>
- <dimen name="setup_wizard_card_title_padding_start">56dp</dimen>
- <dimen name="setup_wizard_card_title_padding_top">24dp</dimen>
- <dimen name="setup_wizard_card_title_padding_bottom">0dp</dimen>
-
</resources>
diff --git a/res/values-sw600dp/dimens.xml b/res/values-sw600dp/dimens.xml
index d9521db..03809c4 100755
--- a/res/values-sw600dp/dimens.xml
+++ b/res/values-sw600dp/dimens.xml
@@ -24,7 +24,6 @@
<dimen name="content_margin_left">16dip</dimen>
<dimen name="description_margin_top">26dip</dimen>
<dimen name="crypt_clock_size">120sp</dimen>
- <dimen name="setup_title_size">24sp</dimen>
<dimen name="appwidget_min_width">325dip</dimen>
<dimen name="appwidget_min_height">50dip</dimen>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 8a58c5c..cd11c2c 100755
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -38,28 +38,10 @@
<dimen name="crypt_clock_size">100sp</dimen>
- <dimen name="setup_margin_bottom">0dip</dimen>
- <dimen name="setup_title_size">24sp</dimen>
- <dimen name="setup_title_margin_bottom">16dp</dimen>
- <!-- This is the extra spacing required to make the leading exactly 32sp -->
- <dimen name="setup_title_line_spacing_extra">3.67sp</dimen>
- <dimen name="setup_title_padding_bottom">2dp</dimen>
- <dimen name="setup_title_padding_top">16dp</dimen>
<!-- Size of padding to give in the wifi list when there is no icon -->
<dimen name="setup_list_no_icon_padding">56dp</dimen>
<dimen name="setup_add_network_item_height">56dp</dimen>
- <dimen name="setup_wizard_card_corner_radius">2dp</dimen>
- <dimen name="setup_wizard_card_elevation">5dp</dimen>
- <dimen name="setup_wizard_tablet_illustration_height">256dp</dimen>
- <dimen name="setup_wizard_card_title_padding_end">0dp</dimen>
- <dimen name="setup_wizard_card_title_padding_start">0dp</dimen>
- <dimen name="setup_wizard_card_title_padding_top">16dp</dimen>
- <dimen name="setup_wizard_card_title_padding_bottom">28dp</dimen>
- <dimen name="setup_wizard_card_port_margin_sides">56dp</dimen>
- <dimen name="setup_wizard_card_land_margin_top">128dp</dimen>
- <dimen name="setup_wizard_margin_sides">40dp</dimen>
<dimen name="setup_wizard_margin_top">24dp</dimen>
- <dimen name="setup_wizard_title_area_elevation">3dp</dimen>
<dimen name="divider_height">3dip</dimen>
<dimen name="divider_margin_top">6dip</dimen>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 22061e6..f9f4561 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -146,45 +146,6 @@
<item name="android:clickable">false</item>
</style>
- <!-- We'd like to have this as 16dip hight including paddingTop/paddingBottom to
- be consistent with ProgressBar -->
- <style name="TopDivider">
- <item name="android:layout_width">match_parent</item>
- <item name="android:layout_height">@dimen/divider_height</item>
- <item name="android:background">?attr/setup_divider_color</item>
- <item name="android:focusable">false</item>
- <item name="android:clickable">false</item>
- <item name="android:layout_marginTop">@dimen/divider_margin_top</item>
- <item name="android:layout_marginBottom">@dimen/divider_margin_bottom</item>
- </style>
-
- <style name="SetupTitle">
- <item name="android:layout_marginBottom">@dimen/setup_title_margin_bottom</item>
- <item name="android:layout_marginEnd">@dimen/setup_wizard_margin_sides</item>
- <item name="android:layout_marginStart">@dimen/setup_wizard_margin_sides</item>
- <item name="android:clickable">false</item>
- <item name="android:fontFamily">sans-serif</item>
- <item name="android:lineSpacingExtra">@dimen/setup_title_line_spacing_extra</item>
- <item name="android:longClickable">false</item>
- <item name="android:textColor">@android:color/white</item>
- <item name="android:textSize">@dimen/setup_title_size</item>
- <item name="android:paddingBottom">@dimen/setup_title_padding_bottom</item>
- <item name="android:paddingTop">@dimen/setup_title_padding_top</item>
- </style>
-
- <!-- Alternate title style used for some tablet layouts -->
- <style name="SetupCardTitle">
- <item name="android:paddingBottom">@dimen/setup_wizard_card_title_padding_bottom</item>
- <item name="android:paddingEnd">@dimen/setup_wizard_card_title_padding_end</item>
- <item name="android:paddingStart">@dimen/setup_wizard_card_title_padding_start</item>
- <item name="android:paddingTop">@dimen/setup_wizard_card_title_padding_top</item>
- <item name="android:textAppearance">@style/TextAppearance.SetupWizardCardTitle</item>
- </style>
-
- <style name="TextAppearance.SetupWizardCardTitle" parent="@android:style/TextAppearance.Material.Display1">
- <item name="android:textColor">@android:color/white</item>
- </style>
-
<style name="TextAppearance.SetupWizardDescription" parent="@android:style/TextAppearance.Material.Subhead">
</style>
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 0d28126..2d6945b 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -31,8 +31,8 @@
<style name="SetupWizardTheme" parent="SuwThemeMaterial">
<item name="android:alertDialogTheme">@style/Theme.WifiDialog</item>
- <item name="android:listPreferredItemPaddingEnd">@dimen/setup_wizard_margin_sides</item>
- <item name="android:listPreferredItemPaddingStart">@dimen/setup_wizard_margin_sides</item>
+ <item name="android:listPreferredItemPaddingEnd">@dimen/suw_layout_margin_sides</item>
+ <item name="android:listPreferredItemPaddingStart">@dimen/suw_layout_margin_sides</item>
<item name="android:windowBackground">?android:attr/colorBackground</item>
<item name="@*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
<item name="ic_menu_add">@drawable/ic_menu_add_dark</item>
@@ -52,8 +52,8 @@
<style name="SetupWizardTheme.Light" parent="SuwThemeMaterial.Light">
<item name="android:alertDialogTheme">@style/Theme.Light.WifiDialog</item>
- <item name="android:listPreferredItemPaddingEnd">@dimen/setup_wizard_margin_sides</item>
- <item name="android:listPreferredItemPaddingStart">@dimen/setup_wizard_margin_sides</item>
+ <item name="android:listPreferredItemPaddingEnd">@dimen/suw_layout_margin_sides</item>
+ <item name="android:listPreferredItemPaddingStart">@dimen/suw_layout_margin_sides</item>
<item name="android:windowBackground">?android:attr/colorBackground</item>
<item name="@*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
<item name="ic_menu_add">@drawable/ic_menu_add_light</item>