OSDN Git Service

Replace ic_clear with vector icon
authorAlan Viverette <alanv@google.com>
Wed, 4 Feb 2015 22:43:03 +0000 (14:43 -0800)
committerAlan Viverette <alanv@google.com>
Wed, 4 Feb 2015 22:49:02 +0000 (22:49 +0000)
Fixes the clear icon being really tiny.

Bug: 19248473
Change-Id: I2c87aa9e055d04d96fa6ccf458cfcc642a4d55ab

core/res/res/drawable-mdpi/ic_clear_mtrl_alpha.png [deleted file]
core/res/res/drawable-xhdpi/ic_clear_mtrl_alpha.png [deleted file]
core/res/res/drawable-xxhdpi/ic_clear_mtrl_alpha.png [deleted file]
core/res/res/drawable/ic_clear_material.xml

diff --git a/core/res/res/drawable-mdpi/ic_clear_mtrl_alpha.png b/core/res/res/drawable-mdpi/ic_clear_mtrl_alpha.png
deleted file mode 100644 (file)
index d43e4d1..0000000
Binary files a/core/res/res/drawable-mdpi/ic_clear_mtrl_alpha.png and /dev/null differ
diff --git a/core/res/res/drawable-xhdpi/ic_clear_mtrl_alpha.png b/core/res/res/drawable-xhdpi/ic_clear_mtrl_alpha.png
deleted file mode 100644 (file)
index ddacb59..0000000
Binary files a/core/res/res/drawable-xhdpi/ic_clear_mtrl_alpha.png and /dev/null differ
diff --git a/core/res/res/drawable-xxhdpi/ic_clear_mtrl_alpha.png b/core/res/res/drawable-xxhdpi/ic_clear_mtrl_alpha.png
deleted file mode 100644 (file)
index 21ed914..0000000
Binary files a/core/res/res/drawable-xxhdpi/ic_clear_mtrl_alpha.png and /dev/null differ
index 076c0a2..a21f47a 100644 (file)
      limitations under the License.
 -->
 
-<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
-    android:src="@drawable/ic_clear_mtrl_alpha"
-    android:tint="?attr/colorControlNormal" />
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+        android:width="24dp"
+        android:height="24dp"
+        android:viewportWidth="24.0"
+        android:viewportHeight="24.0"
+        android:tint="?attr/colorControlNormal">
+<path
+    android:pathData="M19,6.41L17.59,5,12,10.59,6.41,5,5,6.41,10.59,12,5,17.59,6.41,19,12,13.41,17.59,19,19,17.59,13.41,12z"
+    android:fillColor="@color/white"/>
+</vector>