diff --git a/Android.mk b/Android.mk
index cafe3bffa26..c59d938f319 100644
--- a/Android.mk
+++ b/Android.mk
@@ -22,9 +22,10 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_STATIC_ANDROID_LIBRARIES := \
android-support-v4 \
android-support-v13 \
- android-support-v7-recyclerview \
- android-support-v7-preference \
android-support-v7-appcompat \
+ android-support-v7-cardview \
+ android-support-v7-preference \
+ android-support-v7-recyclerview \
android-support-v14-preference
LOCAL_JAVA_LIBRARIES := \
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 7057413a8dd..3be956217d3 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -73,6 +73,7 @@
+
@@ -82,6 +83,7 @@
+
-
@@ -193,8 +193,6 @@
android:value="com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment"/>
-
@@ -210,10 +208,11 @@
-
+ android:parentActivityName="Settings"
+ android:theme="@style/Theme.Settings.NoActionBar">
@@ -268,7 +267,7 @@
@@ -407,6 +406,18 @@
android:value="com.android.settings.bluetooth.BluetoothSettings" />
+
+
+
+
+
+
+
+
@@ -621,7 +632,7 @@
@@ -761,25 +772,6 @@
android:value="true" />
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -958,11 +978,6 @@
-
-
-
-
@@ -1431,6 +1447,14 @@
+
+
+
+
+
+
-
+
+
+
-
-
+
@@ -1540,10 +1569,11 @@
android:resource="@string/notification_suggestion_title" />
+
+ android:theme="@style/GlifTheme.Light" />
@@ -1553,30 +1583,12 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+ android:theme="@style/GlifTheme.Light"/>
@@ -1590,27 +1602,51 @@
+ android:theme="@style/GlifTheme.Light">
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+ android:theme="@style/GlifTheme.Light"/>
-
@@ -1618,7 +1654,7 @@
-
@@ -1647,16 +1683,17 @@
android:resource="@string/suggested_lock_settings_title" />
+
-
+
+ android:value="2,6,30" />
-
+ android:excludeFromRecents="true" />
-
+ android:theme="@style/GlifTheme.Light" />
-
+ android:theme="@style/GlifTheme.Light" />
-
-
+ android:theme="@style/GlifTheme.Light"/>
+ android:theme="@style/GlifTheme.Light" />
@@ -2366,7 +2404,7 @@
+ android:value="com.android.settings.dream.DreamSettings" />
@@ -2535,8 +2573,6 @@
-
@@ -2616,7 +2651,6 @@
@@ -2786,12 +2820,12 @@
android:taskAffinity="">
-
+
+ android:value="10,14,30" />
-
+
+
+
+
+
@@ -3013,17 +3053,20 @@
android:resource="@string/system_dashboard_summary"/>
-
+
+
+
+
-
@@ -3088,6 +3131,99 @@
android:permission="android.permission.DUMP"
android:enabled="@bool/config_has_help" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ android:viewportHeight="24.0">
-
\ No newline at end of file
+ android:fillColor="#ff767c81"
+ android:pathData="M9,4v3h5v12h3L17,7h5L22,4L9,4zM3,12h3v7h3v-7h3L12,9L3,9v3z"/>
+
diff --git a/res/drawable/ic_add_24dp.xml b/res/drawable/ic_add_24dp.xml
index 20146035b41..f87a882a74b 100644
--- a/res/drawable/ic_add_24dp.xml
+++ b/res/drawable/ic_add_24dp.xml
@@ -18,7 +18,7 @@
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
- android:tint="?android:attr/colorAccent">
+ android:tint="?android:attr/colorControlNormal">
diff --git a/res/drawable/ic_battery_alert_24dp.xml b/res/drawable/ic_battery_alert_24dp.xml
new file mode 100644
index 00000000000..cadd882ecc5
--- /dev/null
+++ b/res/drawable/ic_battery_alert_24dp.xml
@@ -0,0 +1,25 @@
+
+
+
+
diff --git a/res/drawable/ic_chevron_right_24dp.xml b/res/drawable/ic_chevron_right_24dp.xml
new file mode 100644
index 00000000000..63532cbe95a
--- /dev/null
+++ b/res/drawable/ic_chevron_right_24dp.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
diff --git a/res/drawable/ic_fingerprint_24dp.xml b/res/drawable/ic_fingerprint_24dp.xml
index 714a05e11b2..e52f0f5e6bb 100644
--- a/res/drawable/ic_fingerprint_24dp.xml
+++ b/res/drawable/ic_fingerprint_24dp.xml
@@ -18,7 +18,7 @@
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0"
- android:tint="?android:attr/colorAccent">
+ android:tint="?android:attr/colorControlNormal">
diff --git a/res/drawable/ic_theaters_vd_theme_24.xml b/res/drawable/ic_local_movies.xml
similarity index 74%
rename from res/drawable/ic_theaters_vd_theme_24.xml
rename to res/drawable/ic_local_movies.xml
index d0bad190091..99977237452 100644
--- a/res/drawable/ic_theaters_vd_theme_24.xml
+++ b/res/drawable/ic_local_movies.xml
@@ -20,6 +20,6 @@
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
-
\ No newline at end of file
+ android:fillColor="#FF000000"
+ android:pathData="M18,3v2h-2V3H8v2H6V3H5C4.45,3 4,3.45 4,4v16c0,0.55 0.45,1 1,1h1v-2h2v2h8v-2h2v2h1c0.55,0 1,-0.45 1,-1V4c0,-0.55 -0.45,-1 -1,-1H18zM8,17H6v-2h2V17zM8,13H6v-2h2V13zM8,9H6V7h2V9zM18,17h-2v-2h2V17zM18,13h-2v-2h2V13zM18,9h-2V7h2V9z"/>
+
diff --git a/res/drawable/ic_apps_vd_theme_24.xml b/res/drawable/ic_media_stream.xml
similarity index 76%
rename from res/drawable/ic_apps_vd_theme_24.xml
rename to res/drawable/ic_media_stream.xml
index ba59e838a96..4eb78bcf35b 100644
--- a/res/drawable/ic_apps_vd_theme_24.xml
+++ b/res/drawable/ic_media_stream.xml
@@ -20,6 +20,6 @@
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
-
\ No newline at end of file
+ android:fillColor="#FF000000"
+ android:pathData="M18,3h-5c-0.55,0 -1,0.45 -1,1v8.3a3.88,3.88 0,0 0,-2.9 -0.04c-1.79,0.67 -3.11,2.35 -3.1,4.26A4.483,4.483 0,0 0,10.5 21c2.5,0 4.5,-2.3 4.5,-4.5V6h3c0.55,0 1,-0.45 1,-1V4c0,-0.55 -0.45,-1 -1,-1z"/>
+
diff --git a/res/drawable/ic_new_releases_24dp.xml b/res/drawable/ic_new_releases_24dp.xml
new file mode 100644
index 00000000000..b8fbb201601
--- /dev/null
+++ b/res/drawable/ic_new_releases_24dp.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
diff --git a/res/drawable/ic_password.xml b/res/drawable/ic_password.xml
new file mode 100644
index 00000000000..57591c2e872
--- /dev/null
+++ b/res/drawable/ic_password.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
diff --git a/res/drawable/ic_pattern.xml b/res/drawable/ic_pattern.xml
new file mode 100644
index 00000000000..003111ea6a7
--- /dev/null
+++ b/res/drawable/ic_pattern.xml
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/ic_photo_library_vd_theme_24.xml b/res/drawable/ic_photo_library.xml
similarity index 71%
rename from res/drawable/ic_photo_library_vd_theme_24.xml
rename to res/drawable/ic_photo_library.xml
index 3cd97fcf0a3..732a34858ae 100644
--- a/res/drawable/ic_photo_library_vd_theme_24.xml
+++ b/res/drawable/ic_photo_library.xml
@@ -20,6 +20,6 @@
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
-
\ No newline at end of file
+ android:fillColor="#FF000000"
+ android:pathData="M22,16V4c0,-1.11 -0.9,-2 -2,-2H8C6.89,2 6,2.89 6,4v12c0,1.1 0.89,2 2,2h12C21.1,18 22,17.1 22,16zM11,12l2.03,2.71L16,11l4,5H8L11,12zM2,7v13c0,1.1 0.9,2 2,2h13c0.55,0 1,-0.45 1,-1v0c0,-0.55 -0.45,-1 -1,-1H4.5C4.22,20 4,19.78 4,19.5V7c0,-0.55 -0.45,-1 -1,-1h0C2.45,6 2,6.45 2,7z"/>
+
diff --git a/res/drawable/ic_pin.xml b/res/drawable/ic_pin.xml
new file mode 100644
index 00000000000..0176019e8a7
--- /dev/null
+++ b/res/drawable/ic_pin.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
diff --git a/res/drawable/ic_settings_accessibility.xml b/res/drawable/ic_settings_accessibility.xml
index 34c0bddec50..15703123b69 100644
--- a/res/drawable/ic_settings_accessibility.xml
+++ b/res/drawable/ic_settings_accessibility.xml
@@ -21,5 +21,5 @@
android:tint="?android:attr/colorControlNormal">
+ android:pathData="M20.5 6c-2.61.7-5.67 1-8.5 1s-5.89-.3-8.5-1L3 8c1.86.5 4 .83 6 1v13h2v-6h2v6h2V9c2-.17 4.14-.5 6-1l-.5-2zM12 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"/>
diff --git a/res/drawable/ic_settings_night_display.xml b/res/drawable/ic_settings_night_display.xml
index 7f161e2cce6..178b1315545 100644
--- a/res/drawable/ic_settings_night_display.xml
+++ b/res/drawable/ic_settings_night_display.xml
@@ -16,12 +16,10 @@
-
-
-
+ android:pathData="M13,12c0,-3.57 2.2,-6.62 5.31,-7.87 0.89,-0.36 0.75,-1.69 -0.19,-1.9 -1.1,-0.24 -2.27,-0.3 -3.48,-0.14 -4.51,0.6 -8.12,4.31 -8.59,8.83C5.43,16.93 10.12,22 16,22c0.73,0 1.43,-0.08 2.12,-0.23 0.95,-0.21 1.1,-1.53 0.2,-1.9A8.471,8.471 0,0 1,13 12z" />
+
\ No newline at end of file
diff --git a/res/drawable/ic_settings_storage.xml b/res/drawable/ic_settings_storage.xml
index 9bf6a278a3e..36dcc3870eb 100644
--- a/res/drawable/ic_settings_storage.xml
+++ b/res/drawable/ic_settings_storage.xml
@@ -1,5 +1,5 @@
+ android:fillColor="#FF000000"
+ android:pathData="M20,16L4,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2h16c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2zM5,19.1c-0.61,0 -1.1,-0.49 -1.1,-1.1 0,-0.61 0.49,-1.1 1.1,-1.1s1.1,0.49 1.1,1.1c0,0.61 -0.49,1.1 -1.1,1.1zM4,8h16c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2L4,4c-1.1,0 -2,0.9 -2,2s0.9,2 2,2zM5,4.9c0.61,0 1.1,0.49 1.1,1.1 0,0.61 -0.49,1.1 -1.1,1.1S3.9,6.61 3.9,6c0,-0.61 0.49,-1.1 1.1,-1.1zM20,10L4,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2h16c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2zM5,13.1c-0.61,0 -1.1,-0.49 -1.1,-1.1 0,-0.61 0.49,-1.1 1.1,-1.1s1.1,0.49 1.1,1.1c0,0.61 -0.49,1.1 -1.1,1.1z"/>
diff --git a/res/drawable/ic_storage.xml b/res/drawable/ic_storage.xml
new file mode 100644
index 00000000000..36dcc3870eb
--- /dev/null
+++ b/res/drawable/ic_storage.xml
@@ -0,0 +1,25 @@
+
+
+
+
diff --git a/res/drawable/ic_storage_apps.xml b/res/drawable/ic_storage_apps.xml
new file mode 100644
index 00000000000..7b86b896553
--- /dev/null
+++ b/res/drawable/ic_storage_apps.xml
@@ -0,0 +1,25 @@
+
+
+
+
diff --git a/res/drawable/ic_suggested_notifications.xml b/res/drawable/ic_suggested_notifications.xml
index 00bd7368469..5a8f0e94342 100644
--- a/res/drawable/ic_suggested_notifications.xml
+++ b/res/drawable/ic_suggested_notifications.xml
@@ -14,12 +14,11 @@
limitations under the License.
-->
+ android:width="24.0dp"
+ android:height="24.0dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ android:fillColor="@color/suw_color_accent_light"
+ android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4a2,2 0,0 0,2 2zM18,16v-5c0,-3.07 -1.64,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.63,5.36 6,7.92 6,11v5l-2.15,2.15a0.5,0.5 0,0 0,0.35 0.85h15.6c0.45,0 0.67,-0.54 0.35,-0.85L18,16z"/>
diff --git a/res/drawable/ic_suggestion_fingerprint.xml b/res/drawable/ic_suggestion_fingerprint.xml
index feebd94ddc6..bf5ee2effe7 100644
--- a/res/drawable/ic_suggestion_fingerprint.xml
+++ b/res/drawable/ic_suggestion_fingerprint.xml
@@ -18,7 +18,7 @@
+
+
+
+
diff --git a/res/drawable/ic_translate_24dp.xml b/res/drawable/ic_translate_24dp.xml
new file mode 100644
index 00000000000..4df035c39be
--- /dev/null
+++ b/res/drawable/ic_translate_24dp.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
diff --git a/res/drawable/ic_bt_imaging.xml b/res/drawable/selectable_card.xml
similarity index 55%
rename from res/drawable/ic_bt_imaging.xml
rename to res/drawable/selectable_card.xml
index 01e78c0d413..9c1987731b9 100644
--- a/res/drawable/ic_bt_imaging.xml
+++ b/res/drawable/selectable_card.xml
@@ -1,3 +1,4 @@
+
-
-
-
\ No newline at end of file
+
+
+
+
diff --git a/res/layout-land/confirm_lock_password.xml b/res/layout-land/confirm_lock_password.xml
index 63b7e48dfd8..218192c21d7 100644
--- a/res/layout-land/confirm_lock_password.xml
+++ b/res/layout-land/confirm_lock_password.xml
@@ -22,7 +22,6 @@
-
-
+ android:layout_height="wrap_content"/>
+ android:layout_height="0dp"
+ android:layout_weight="1">
-
+ android:layout_gravity="center_vertical"
+ android:gravity="center_horizontal"
+ android:orientation="vertical">
-
+
+
+
+
+
-
-
-
+ android:fillViewport="true">
+ android:clipChildren="false"
+ android:paddingBottom="0dp">
-
+
+
-
-
-
+
+ android:layout_marginStart="0dp"
+ android:layout_marginEnd="0dp" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/res/layout-land/fingerprint_enroll_find_sensor.xml b/res/layout-land/fingerprint_enroll_find_sensor.xml
index 72525b55124..8712ad70e34 100644
--- a/res/layout-land/fingerprint_enroll_find_sensor.xml
+++ b/res/layout-land/fingerprint_enroll_find_sensor.xml
@@ -44,7 +44,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipChildren="false"
- android:clipToPadding="false">
+ android:clipToPadding="false"
+ android:fillViewport="true">
@@ -76,13 +78,18 @@
android:layout_height="wrap_content"
android:text="@string/security_settings_fingerprint_enroll_find_sensor_message"/>
+
+
+ android:text="@string/skip_label" />
diff --git a/res/layout-land/fingerprint_enroll_finish.xml b/res/layout-land/fingerprint_enroll_finish.xml
index ca1a2d26339..0b673b872b2 100644
--- a/res/layout-land/fingerprint_enroll_finish.xml
+++ b/res/layout-land/fingerprint_enroll_finish.xml
@@ -20,91 +20,108 @@
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout="@layout/suw_glif_blank_template"
style="?attr/fingerprint_layout_theme">
-
+ android:fillViewport="true">
-
-
-
-
+ android:clipChildren="false">
+ android:orientation="vertical">
-
+ android:layout_gravity="?attr/suwGlifHeaderGravity"
+ android:layout_marginLeft="0dp"
+ android:layout_marginRight="0dp"
+ android:contentDescription="@null"
+ android:src="@drawable/ic_fingerprint_header"/>
+
+
+
+
-
+ android:layout_marginTop="8dp"
+ android:clipChildren="false"
+ android:clipToPadding="false"
+ android:orientation="horizontal">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
diff --git a/res/layout/account_header.xml b/res/layout/account_header.xml
deleted file mode 100755
index 818d47c469e..00000000000
--- a/res/layout/account_header.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout/app_details.xml b/res/layout/app_details.xml
deleted file mode 100644
index 2db23e40ac8..00000000000
--- a/res/layout/app_details.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout/app_domains_dialog.xml b/res/layout/app_domains_dialog.xml
index f9c6b6453de..d006027451b 100644
--- a/res/layout/app_domains_dialog.xml
+++ b/res/layout/app_domains_dialog.xml
@@ -15,18 +15,12 @@
limitations under the License.
-->
-
+
-
-
-
diff --git a/res/layout/app_domains_item.xml b/res/layout/app_domains_item.xml
index e2ccbd3deec..5aa9cfa677d 100644
--- a/res/layout/app_domains_item.xml
+++ b/res/layout/app_domains_item.xml
@@ -15,12 +15,12 @@
limitations under the License.
-->
-
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp" />
diff --git a/res/layout/app_item.xml b/res/layout/app_item.xml
index 15a901427cf..d53afc965e8 100644
--- a/res/layout/app_item.xml
+++ b/res/layout/app_item.xml
@@ -18,16 +18,16 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="72dp"
- android:paddingTop="16dp"
- android:paddingBottom="16dp"
+ android:paddingTop="12dp"
+ android:paddingBottom="12dp"
android:gravity="top"
android:columnCount="3"
android:duplicateParentState="true">
+
+
@@ -54,7 +62,6 @@
android:id="@+id/battery_header_icon"
android:layout_width="@dimen/battery_meter_width"
android:layout_height="@dimen/battery_meter_height"
- android:layout_gravity="end"
- android:layout_marginEnd="24dp"/>
+ android:layout_marginEnd="16dp"/>
\ No newline at end of file
diff --git a/res/layout/battery_history_detail.xml b/res/layout/battery_history_detail.xml
index b782e397c66..ea758655231 100644
--- a/res/layout/battery_history_detail.xml
+++ b/res/layout/battery_history_detail.xml
@@ -49,7 +49,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorSecondary"/>
-
-
+
+
diff --git a/res/layout/choose_lock_dialog_item.xml b/res/layout/choose_lock_dialog_item.xml
new file mode 100644
index 00000000000..46ad539fe0d
--- /dev/null
+++ b/res/layout/choose_lock_dialog_item.xml
@@ -0,0 +1,30 @@
+
+
+
+
diff --git a/res/layout/choose_lock_password.xml b/res/layout/choose_lock_password.xml
index 0888b5e201f..7ce30344d58 100644
--- a/res/layout/choose_lock_password.xml
+++ b/res/layout/choose_lock_password.xml
@@ -32,41 +32,50 @@
android:gravity="center_horizontal"
android:orientation="vertical">
-
-
-
-
+ android:visibility="gone" />
+
+
+
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:inputType="textPassword"
+ android:imeOptions="actionNext|flagNoExtractUi|flagForceAscii"
+ style="@style/TextAppearance.PasswordEntry"/>
+ android:id="@+id/password_requirements_view"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+
+
diff --git a/res/layout/choose_lock_password_footer.xml b/res/layout/choose_lock_password_footer.xml
index 57be3201e4d..323a884cae9 100644
--- a/res/layout/choose_lock_password_footer.xml
+++ b/res/layout/choose_lock_password_footer.xml
@@ -38,6 +38,6 @@
style="@style/SuwGlifButton.Primary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/lockpassword_continue_label" />
+ android:text="@string/next_label" />
diff --git a/res/layout/choose_lock_pattern_common.xml b/res/layout/choose_lock_pattern_common.xml
index a54987dcaaa..3ea960d1a7d 100644
--- a/res/layout/choose_lock_pattern_common.xml
+++ b/res/layout/choose_lock_pattern_common.xml
@@ -22,20 +22,42 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:icon="@drawable/ic_lock"
+ android:layout="@layout/suw_glif_blank_template"
settings:suwFooter="@layout/choose_lock_pattern_common_footer"
settings:suwHeaderText="@string/lockpassword_choose_your_pattern_header">
+
+
+
+
+
+
+
+
@@ -55,7 +76,7 @@
+ android:layout_weight="1" />
diff --git a/res/layout/condition_card.xml b/res/layout/condition_card.xml
deleted file mode 100644
index 4edd0f29813..00000000000
--- a/res/layout/condition_card.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout/account_type_preference.xml b/res/layout/condition_header_icon.xml
similarity index 64%
rename from res/layout/account_type_preference.xml
rename to res/layout/condition_header_icon.xml
index f7ba859fe33..4f93f547c22 100644
--- a/res/layout/account_type_preference.xml
+++ b/res/layout/condition_header_icon.xml
@@ -1,5 +1,6 @@
-
+ android:id="@android:id/icon"
+ android:layout_width="@dimen/dashboard_tile_image_size"
+ android:layout_height="@dimen/dashboard_tile_image_size"
+ android:layout_marginStart="0dp"
+ android:layout_marginEnd="24dp"
+ android:tint="?android:attr/colorAccent"
+ android:scaleType="centerInside"/>
diff --git a/res/layout/condition_tile.xml b/res/layout/condition_tile.xml
new file mode 100644
index 00000000000..3e2f9b4938c
--- /dev/null
+++ b/res/layout/condition_tile.xml
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/res/layout/confirm_lock_password_base.xml b/res/layout/confirm_lock_password_base.xml
index 6942863bb0a..05e90d223d6 100644
--- a/res/layout/confirm_lock_password_base.xml
+++ b/res/layout/confirm_lock_password_base.xml
@@ -47,8 +47,7 @@
android:layout_marginEnd="?attr/confirmDeviceCredentialsSideMargin"
android:layout_marginTop="12dp"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- />
+ android:layout_height="wrap_content" />
-
+ android:gravity="center_horizontal"
+ android:orientation="vertical">
-
+
+
+
+
+
+
+ android:layout_weight="1"/>
-
-
-
-
-
+ android:gravity="center_horizontal"
+ android:orientation="vertical">
-
+
+
+
+
+
+
+ android:layout_weight="1" />
-
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
-
+
+
+ android:layout_height="wrap_content" />
-
+
-
-
-
-
-
-
-
+
-
-
+ android:layout_weight="4"
+ android:layout_gravity="center_horizontal"/>
-
+
-
-
+