summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-04-06 15:37:22 -0700
committerAlan Viverette <alanv@google.com>2015-04-06 15:37:22 -0700
commit789e77683522c20b84fd464ff0f9bc6cd16a3a43 (patch)
tree17f1f3a7f2b20ca34d8ee1deb5e6e9e741342ded
parent1ffaca4414c5c2b73e5aaf085728e3b01ea534c3 (diff)
downloadframeworks_base-789e77683522c20b84fd464ff0f9bc6cd16a3a43.zip
frameworks_base-789e77683522c20b84fd464ff0f9bc6cd16a3a43.tar.gz
frameworks_base-789e77683522c20b84fd464ff0f9bc6cd16a3a43.tar.bz2
Replace PNG list divider with XML shape
Change-Id: I06bf589de22682f7c598f56fbdbfcd61cb72b099
-rw-r--r--core/res/res/drawable-hdpi/list_divider_mtrl_alpha.9.pngbin136 -> 0 bytes
-rw-r--r--core/res/res/drawable-mdpi/list_divider_mtrl_alpha.9.pngbin136 -> 0 bytes
-rw-r--r--core/res/res/drawable-xhdpi/list_divider_mtrl_alpha.9.pngbin136 -> 0 bytes
-rw-r--r--core/res/res/drawable-xxhdpi/list_divider_mtrl_alpha.9.pngbin138 -> 0 bytes
-rw-r--r--core/res/res/drawable/list_divider_material.xml11
5 files changed, 7 insertions, 4 deletions
diff --git a/core/res/res/drawable-hdpi/list_divider_mtrl_alpha.9.png b/core/res/res/drawable-hdpi/list_divider_mtrl_alpha.9.png
deleted file mode 100644
index 2fa6d7e..0000000
--- a/core/res/res/drawable-hdpi/list_divider_mtrl_alpha.9.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/drawable-mdpi/list_divider_mtrl_alpha.9.png b/core/res/res/drawable-mdpi/list_divider_mtrl_alpha.9.png
deleted file mode 100644
index 070bdbf..0000000
--- a/core/res/res/drawable-mdpi/list_divider_mtrl_alpha.9.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/drawable-xhdpi/list_divider_mtrl_alpha.9.png b/core/res/res/drawable-xhdpi/list_divider_mtrl_alpha.9.png
deleted file mode 100644
index 0d2836d..0000000
--- a/core/res/res/drawable-xhdpi/list_divider_mtrl_alpha.9.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/drawable-xxhdpi/list_divider_mtrl_alpha.9.png b/core/res/res/drawable-xxhdpi/list_divider_mtrl_alpha.9.png
deleted file mode 100644
index b8ac46d..0000000
--- a/core/res/res/drawable-xxhdpi/list_divider_mtrl_alpha.9.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/drawable/list_divider_material.xml b/core/res/res/drawable/list_divider_material.xml
index babb646..658a59d 100644
--- a/core/res/res/drawable/list_divider_material.xml
+++ b/core/res/res/drawable/list_divider_material.xml
@@ -14,7 +14,10 @@
limitations under the License.
-->
-<nine-patch xmlns:android="http://schemas.android.com/apk/res/android"
- android:src="@drawable/list_divider_mtrl_alpha"
- android:tint="?attr/colorForeground"
- android:alpha="0.12" />
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:tint="?attr/colorForeground">
+ <solid android:color="#1f000000" />
+ <size
+ android:height="1dp"
+ android:width="1dp" />
+</shape>