diff options
author | Clark Scheff <clark@cyngn.com> | 2014-07-16 16:53:08 -0700 |
---|---|---|
committer | d34d <clark@cyngn.com> | 2014-07-17 08:29:28 -0700 |
commit | accf71cc2f859c8c8d241e7f67fe118ac82bf6f5 (patch) | |
tree | f65476e4165b18d419e29ae6bab7b22bd0ccc893 /res/drawable | |
parent | e8e880c66ba2734cf1f5101ca2d3f19658b55bf0 (diff) | |
download | packages_apps_ThemeChooser-accf71cc2f859c8c8d241e7f67fe118ac82bf6f5.zip packages_apps_ThemeChooser-accf71cc2f859c8c8d241e7f67fe118ac82bf6f5.tar.gz packages_apps_ThemeChooser-accf71cc2f859c8c8d241e7f67fe118ac82bf6f5.tar.bz2 |
Add applying theme progress along with animations.
Change-Id: Id7835d3be0b9d9c8d861e820e63b45e17235ef68
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/apply_progress_background.xml | 8 | ||||
-rw-r--r-- | res/drawable/apply_progress_bar.xml | 12 | ||||
-rw-r--r-- | res/drawable/apply_progress_indicator.xml | 8 |
3 files changed, 28 insertions, 0 deletions
diff --git a/res/drawable/apply_progress_background.xml b/res/drawable/apply_progress_background.xml new file mode 100644 index 0000000..47c2530 --- /dev/null +++ b/res/drawable/apply_progress_background.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> + +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + + <solid android:color="@color/apply_progress_background_color" /> + +</shape>
\ No newline at end of file diff --git a/res/drawable/apply_progress_bar.xml b/res/drawable/apply_progress_bar.xml new file mode 100644 index 0000000..a3cbc6f --- /dev/null +++ b/res/drawable/apply_progress_bar.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:id="@android:id/background" + android:drawable="@drawable/apply_progress_background"/> + + <item android:id="@android:id/progress"> + <clip android:drawable="@drawable/apply_progress_indicator"/> + </item> + +</layer-list>
\ No newline at end of file diff --git a/res/drawable/apply_progress_indicator.xml b/res/drawable/apply_progress_indicator.xml new file mode 100644 index 0000000..0f332ed --- /dev/null +++ b/res/drawable/apply_progress_indicator.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> + +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + + <solid android:color="@color/apply_progress_color" /> + +</shape>
\ No newline at end of file |