From 8e987d9bfb9c69daf306c52d84d8ea480eb4d73a Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 16 Jun 2015 13:52:10 -0700 Subject: Finish storage wizard theming. Storage wizard screens now have updated assets from UX, and various assets are tinted consistently. We're using our own navigation bar and wholesale replacing the layout from upstream. Fix text colors in night mode. Tell SystemUI when we're finished with the wizard flow. Bug: 21830731 Change-Id: Ic8d09cc152bfb4dcc6089b5c61d28cbdd4be3ee9 --- res/color/storage_wizard_button.xml | 22 +++++++++ res/color/storage_wizard_button_red.xml | 22 +++++++++ res/drawable-hdpi/bg_internal_storage_header.png | Bin 0 -> 38885 bytes res/drawable-hdpi/bg_portable_storage_header.png | Bin 0 -> 38232 bytes res/drawable-hdpi/bg_tile.png | Bin 0 -> 6397 bytes res/drawable-mdpi/bg_internal_storage_header.png | Bin 0 -> 19121 bytes res/drawable-mdpi/bg_portable_storage_header.png | Bin 0 -> 18813 bytes res/drawable-mdpi/bg_tile.png | Bin 0 -> 3191 bytes res/drawable-xhdpi/bg_internal_storage_header.png | Bin 0 -> 61765 bytes res/drawable-xhdpi/bg_portable_storage_header.png | Bin 0 -> 60763 bytes res/drawable-xhdpi/bg_tile.png | Bin 0 -> 10041 bytes res/drawable-xxhdpi/bg_internal_storage_header.png | Bin 0 -> 120799 bytes res/drawable-xxhdpi/bg_portable_storage_header.png | Bin 0 -> 118776 bytes res/drawable-xxhdpi/bg_tile.png | Bin 0 -> 17946 bytes .../bg_internal_storage_header.png | Bin 0 -> 187831 bytes .../bg_portable_storage_header.png | Bin 0 -> 184627 bytes res/drawable-xxxhdpi/bg_tile.png | Bin 0 -> 24733 bytes res/layout/preference_storage_action.xml | 1 + res/layout/storage_summary.xml | 2 +- res/layout/storage_wizard_generic.xml | 4 +- res/layout/storage_wizard_init.xml | 6 +-- res/layout/storage_wizard_migrate.xml | 4 +- res/layout/storage_wizard_navigation.xml | 52 +++++++++++++++++++++ res/layout/storage_wizard_progress.xml | 4 +- res/layout/storage_wizard_ready.xml | 4 +- res/values/styles.xml | 4 ++ 26 files changed, 107 insertions(+), 18 deletions(-) create mode 100644 res/color/storage_wizard_button.xml create mode 100644 res/color/storage_wizard_button_red.xml create mode 100644 res/drawable-hdpi/bg_internal_storage_header.png create mode 100644 res/drawable-hdpi/bg_portable_storage_header.png create mode 100644 res/drawable-hdpi/bg_tile.png create mode 100644 res/drawable-mdpi/bg_internal_storage_header.png create mode 100644 res/drawable-mdpi/bg_portable_storage_header.png create mode 100644 res/drawable-mdpi/bg_tile.png create mode 100644 res/drawable-xhdpi/bg_internal_storage_header.png create mode 100644 res/drawable-xhdpi/bg_portable_storage_header.png create mode 100644 res/drawable-xhdpi/bg_tile.png create mode 100644 res/drawable-xxhdpi/bg_internal_storage_header.png create mode 100644 res/drawable-xxhdpi/bg_portable_storage_header.png create mode 100644 res/drawable-xxhdpi/bg_tile.png create mode 100644 res/drawable-xxxhdpi/bg_internal_storage_header.png create mode 100644 res/drawable-xxxhdpi/bg_portable_storage_header.png create mode 100644 res/drawable-xxxhdpi/bg_tile.png create mode 100644 res/layout/storage_wizard_navigation.xml (limited to 'res') diff --git a/res/color/storage_wizard_button.xml b/res/color/storage_wizard_button.xml new file mode 100644 index 0000000..38c7d52 --- /dev/null +++ b/res/color/storage_wizard_button.xml @@ -0,0 +1,22 @@ + + + + + + + diff --git a/res/color/storage_wizard_button_red.xml b/res/color/storage_wizard_button_red.xml new file mode 100644 index 0000000..9e9a908 --- /dev/null +++ b/res/color/storage_wizard_button_red.xml @@ -0,0 +1,22 @@ + + + + + + + diff --git a/res/drawable-hdpi/bg_internal_storage_header.png b/res/drawable-hdpi/bg_internal_storage_header.png new file mode 100644 index 0000000..ccb5951 Binary files /dev/null and b/res/drawable-hdpi/bg_internal_storage_header.png differ diff --git a/res/drawable-hdpi/bg_portable_storage_header.png b/res/drawable-hdpi/bg_portable_storage_header.png new file mode 100644 index 0000000..fa640f0 Binary files /dev/null and b/res/drawable-hdpi/bg_portable_storage_header.png differ diff --git a/res/drawable-hdpi/bg_tile.png b/res/drawable-hdpi/bg_tile.png new file mode 100644 index 0000000..0680c57 Binary files /dev/null and b/res/drawable-hdpi/bg_tile.png differ diff --git a/res/drawable-mdpi/bg_internal_storage_header.png b/res/drawable-mdpi/bg_internal_storage_header.png new file mode 100644 index 0000000..a4f263d Binary files /dev/null and b/res/drawable-mdpi/bg_internal_storage_header.png differ diff --git a/res/drawable-mdpi/bg_portable_storage_header.png b/res/drawable-mdpi/bg_portable_storage_header.png new file mode 100644 index 0000000..9b21825 Binary files /dev/null and b/res/drawable-mdpi/bg_portable_storage_header.png differ diff --git a/res/drawable-mdpi/bg_tile.png b/res/drawable-mdpi/bg_tile.png new file mode 100644 index 0000000..bd361f0 Binary files /dev/null and b/res/drawable-mdpi/bg_tile.png differ diff --git a/res/drawable-xhdpi/bg_internal_storage_header.png b/res/drawable-xhdpi/bg_internal_storage_header.png new file mode 100644 index 0000000..289b31c Binary files /dev/null and b/res/drawable-xhdpi/bg_internal_storage_header.png differ diff --git a/res/drawable-xhdpi/bg_portable_storage_header.png b/res/drawable-xhdpi/bg_portable_storage_header.png new file mode 100644 index 0000000..76154ff Binary files /dev/null and b/res/drawable-xhdpi/bg_portable_storage_header.png differ diff --git a/res/drawable-xhdpi/bg_tile.png b/res/drawable-xhdpi/bg_tile.png new file mode 100644 index 0000000..dc5b24c Binary files /dev/null and b/res/drawable-xhdpi/bg_tile.png differ diff --git a/res/drawable-xxhdpi/bg_internal_storage_header.png b/res/drawable-xxhdpi/bg_internal_storage_header.png new file mode 100644 index 0000000..ed01721 Binary files /dev/null and b/res/drawable-xxhdpi/bg_internal_storage_header.png differ diff --git a/res/drawable-xxhdpi/bg_portable_storage_header.png b/res/drawable-xxhdpi/bg_portable_storage_header.png new file mode 100644 index 0000000..df6b38e Binary files /dev/null and b/res/drawable-xxhdpi/bg_portable_storage_header.png differ diff --git a/res/drawable-xxhdpi/bg_tile.png b/res/drawable-xxhdpi/bg_tile.png new file mode 100644 index 0000000..bf28300 Binary files /dev/null and b/res/drawable-xxhdpi/bg_tile.png differ diff --git a/res/drawable-xxxhdpi/bg_internal_storage_header.png b/res/drawable-xxxhdpi/bg_internal_storage_header.png new file mode 100644 index 0000000..26cae96 Binary files /dev/null and b/res/drawable-xxxhdpi/bg_internal_storage_header.png differ diff --git a/res/drawable-xxxhdpi/bg_portable_storage_header.png b/res/drawable-xxxhdpi/bg_portable_storage_header.png new file mode 100644 index 0000000..78003f8 Binary files /dev/null and b/res/drawable-xxxhdpi/bg_portable_storage_header.png differ diff --git a/res/drawable-xxxhdpi/bg_tile.png b/res/drawable-xxxhdpi/bg_tile.png new file mode 100644 index 0000000..7d22170 Binary files /dev/null and b/res/drawable-xxxhdpi/bg_tile.png differ diff --git a/res/layout/preference_storage_action.xml b/res/layout/preference_storage_action.xml index 19d7763..5a37871 100644 --- a/res/layout/preference_storage_action.xml +++ b/res/layout/preference_storage_action.xml @@ -30,6 +30,7 @@ android:layout_gravity="center" android:gravity="center" android:src="@drawable/ic_eject_24dp" + android:tint="?android:attr/textColorSecondary" android:background="?android:attr/selectableItemBackground" /> diff --git a/res/layout/storage_summary.xml b/res/layout/storage_summary.xml index cd63671..96a0cee 100644 --- a/res/layout/storage_summary.xml +++ b/res/layout/storage_summary.xml @@ -44,7 +44,7 @@ android:layout_height="wrap_content" android:textAlignment="viewStart" android:textAppearance="@android:style/TextAppearance.Material.Body1" - android:textColor="#8a000000" + android:textColor="?android:attr/textColorSecondaryNoDisable" android:maxLines="10" /> + app:suwBackgroundTile="@drawable/bg_tile"> - - + app:suwBackgroundTile="@drawable/bg_tile"> + app:suwBackgroundTile="@drawable/bg_tile"> + + + + +