summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-08-21 17:31:09 -0700
committerClark Scheff <clark@cyngn.com>2014-08-22 09:38:10 -0700
commit81ec39b9781d4ad0bdc50eaf2a89ae5feecc704a (patch)
tree8fa73823bd890bd380baca8c21ee42d96bf25f2b /res
parent26f8095043176d8a57383fbe6e1583088c1f1cf1 (diff)
downloadpackages_apps_ThemeChooser-81ec39b9781d4ad0bdc50eaf2a89ae5feecc704a.zip
packages_apps_ThemeChooser-81ec39b9781d4ad0bdc50eaf2a89ae5feecc704a.tar.gz
packages_apps_ThemeChooser-81ec39b9781d4ad0bdc50eaf2a89ae5feecc704a.tar.bz2
Update shop themes button
Change-Id: I1315b1c3e00639eae404b6ba9471db342786eaa1
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/bg_button_shopthemes_focused.9.pngbin0 -> 484 bytes
-rw-r--r--res/drawable-hdpi/bg_button_shopthemes_normal.9.pngbin0 -> 487 bytes
-rw-r--r--res/drawable-hdpi/bg_button_shopthemes_pressed.9.pngbin0 -> 655 bytes
-rw-r--r--res/drawable-mdpi/bg_button_shopthemes_focused.9.pngbin0 -> 337 bytes
-rw-r--r--res/drawable-mdpi/bg_button_shopthemes_normal.9.pngbin0 -> 337 bytes
-rw-r--r--res/drawable-mdpi/bg_button_shopthemes_pressed.9.pngbin0 -> 434 bytes
-rw-r--r--res/drawable-xhdpi/bg_button_shopthemes_focused.9.pngbin0 -> 672 bytes
-rw-r--r--res/drawable-xhdpi/bg_button_shopthemes_normal.9.pngbin0 -> 679 bytes
-rw-r--r--res/drawable-xhdpi/bg_button_shopthemes_pressed.9.pngbin0 -> 919 bytes
-rw-r--r--res/drawable-xxhdpi/bg_button_shopthemes_focused.9.pngbin0 -> 1030 bytes
-rw-r--r--res/drawable-xxhdpi/bg_button_shopthemes_normal.9.pngbin0 -> 1020 bytes
-rw-r--r--res/drawable-xxhdpi/bg_button_shopthemes_pressed.9.pngbin0 -> 1427 bytes
-rw-r--r--res/drawable/shop_themes_bg.xml11
-rw-r--r--res/layout/shop_themes.xml17
-rw-r--r--res/values/colors.xml3
15 files changed, 20 insertions, 11 deletions
diff --git a/res/drawable-hdpi/bg_button_shopthemes_focused.9.png b/res/drawable-hdpi/bg_button_shopthemes_focused.9.png
new file mode 100644
index 0000000..669e672
--- /dev/null
+++ b/res/drawable-hdpi/bg_button_shopthemes_focused.9.png
Binary files differ
diff --git a/res/drawable-hdpi/bg_button_shopthemes_normal.9.png b/res/drawable-hdpi/bg_button_shopthemes_normal.9.png
new file mode 100644
index 0000000..09d03d5
--- /dev/null
+++ b/res/drawable-hdpi/bg_button_shopthemes_normal.9.png
Binary files differ
diff --git a/res/drawable-hdpi/bg_button_shopthemes_pressed.9.png b/res/drawable-hdpi/bg_button_shopthemes_pressed.9.png
new file mode 100644
index 0000000..b6fada6
--- /dev/null
+++ b/res/drawable-hdpi/bg_button_shopthemes_pressed.9.png
Binary files differ
diff --git a/res/drawable-mdpi/bg_button_shopthemes_focused.9.png b/res/drawable-mdpi/bg_button_shopthemes_focused.9.png
new file mode 100644
index 0000000..79b28e3
--- /dev/null
+++ b/res/drawable-mdpi/bg_button_shopthemes_focused.9.png
Binary files differ
diff --git a/res/drawable-mdpi/bg_button_shopthemes_normal.9.png b/res/drawable-mdpi/bg_button_shopthemes_normal.9.png
new file mode 100644
index 0000000..8848e28
--- /dev/null
+++ b/res/drawable-mdpi/bg_button_shopthemes_normal.9.png
Binary files differ
diff --git a/res/drawable-mdpi/bg_button_shopthemes_pressed.9.png b/res/drawable-mdpi/bg_button_shopthemes_pressed.9.png
new file mode 100644
index 0000000..fdfdc7a
--- /dev/null
+++ b/res/drawable-mdpi/bg_button_shopthemes_pressed.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/bg_button_shopthemes_focused.9.png b/res/drawable-xhdpi/bg_button_shopthemes_focused.9.png
new file mode 100644
index 0000000..f74db4d
--- /dev/null
+++ b/res/drawable-xhdpi/bg_button_shopthemes_focused.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/bg_button_shopthemes_normal.9.png b/res/drawable-xhdpi/bg_button_shopthemes_normal.9.png
new file mode 100644
index 0000000..1a2b6a0
--- /dev/null
+++ b/res/drawable-xhdpi/bg_button_shopthemes_normal.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/bg_button_shopthemes_pressed.9.png b/res/drawable-xhdpi/bg_button_shopthemes_pressed.9.png
new file mode 100644
index 0000000..1ea49ba
--- /dev/null
+++ b/res/drawable-xhdpi/bg_button_shopthemes_pressed.9.png
Binary files differ
diff --git a/res/drawable-xxhdpi/bg_button_shopthemes_focused.9.png b/res/drawable-xxhdpi/bg_button_shopthemes_focused.9.png
new file mode 100644
index 0000000..c92c6c9
--- /dev/null
+++ b/res/drawable-xxhdpi/bg_button_shopthemes_focused.9.png
Binary files differ
diff --git a/res/drawable-xxhdpi/bg_button_shopthemes_normal.9.png b/res/drawable-xxhdpi/bg_button_shopthemes_normal.9.png
new file mode 100644
index 0000000..e4d5577
--- /dev/null
+++ b/res/drawable-xxhdpi/bg_button_shopthemes_normal.9.png
Binary files differ
diff --git a/res/drawable-xxhdpi/bg_button_shopthemes_pressed.9.png b/res/drawable-xxhdpi/bg_button_shopthemes_pressed.9.png
new file mode 100644
index 0000000..3eee7b7
--- /dev/null
+++ b/res/drawable-xxhdpi/bg_button_shopthemes_pressed.9.png
Binary files differ
diff --git a/res/drawable/shop_themes_bg.xml b/res/drawable/shop_themes_bg.xml
new file mode 100644
index 0000000..12e560e
--- /dev/null
+++ b/res/drawable/shop_themes_bg.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:state_focused="true"
+ android:drawable="@drawable/bg_button_shopthemes_focused"/>
+ <item android:state_pressed="true"
+ android:drawable="@drawable/bg_button_shopthemes_pressed"/>
+ <item android:drawable="@drawable/bg_button_shopthemes_normal"/>
+
+</selector> \ No newline at end of file
diff --git a/res/layout/shop_themes.xml b/res/layout/shop_themes.xml
index b86fe53..bc68e48 100644
--- a/res/layout/shop_themes.xml
+++ b/res/layout/shop_themes.xml
@@ -5,17 +5,15 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_gravity="bottom|left">
-
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/shop_themes_divider_color"/>
+ android:layout_gravity="bottom|center_horizontal"
+ android:alpha="0">
<TextView
android:id="@+id/shop_themes"
- android:layout_width="match_parent"
- android:layout_height="48dp"
+ android:layout_width="140dp"
+ android:layout_height="44dp"
+ android:layout_marginBottom="24dp"
+ android:layout_gravity="center_horizontal"
android:textSize="14sp"
android:textColor="@color/shop_themes_text_color"
android:textAllCaps="true"
@@ -23,7 +21,8 @@
android:hapticFeedbackEnabled="true"
android:text="@string/shop_themes"
android:clickable="true"
- android:focusable="true"/>
+ android:focusable="true"
+ android:background="@drawable/shop_themes_bg"/>
<!-- This view will be set to gone if the device does not have a navigation bar -->
<Space
diff --git a/res/values/colors.xml b/res/values/colors.xml
index ddede53..f0b8f9b 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -47,8 +47,7 @@
<color name="wallpaper_label">#ffffff</color>
<color name="audible_name_color">#999999</color>
- <color name="shop_themes_text_color">#01579b</color>
- <color name="shop_themes_divider_color">#b8b8b8</color>
+ <color name="shop_themes_text_color">#ffffff</color>
<color name="apply_layout_background">#cd000000</color>
<color name="apply_layout_text_color">#ffffff</color>