Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4268)

Unified Diff: chrome/android/java/res/drawable/ic_collections_grey600_48dp.xml

Issue 2843973002: Use larger vector graphics for special tiles and fix selection ring. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/drawable/ic_collections_grey600_48dp.xml
diff --git a/chrome/android/java/res/drawable/ic_collections_grey600_48dp.xml b/chrome/android/java/res/drawable/ic_collections_grey600_48dp.xml
new file mode 100644
index 0000000000000000000000000000000000000000..aa1223d71c6ee53720dfaa09bdb3efac71d563db
--- /dev/null
+++ b/chrome/android/java/res/drawable/ic_collections_grey600_48dp.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2017 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
Theresa 2017/04/26 18:04:31 We already have an ic_collections_grey.xml that's
Finnur 2017/04/26 20:30:44 The impetus for this change is larger icons for th
Theresa 2017/04/26 20:47:17 You should be able to display ic_collections_grey.
Finnur 2017/04/27 15:02:26 When I did this initially, I used an ImageView (fo
Theresa 2017/04/27 15:45:27 Try calling setBounds() on the vector drawable. I
Theresa 2017/04/27 15:49:49 Also, what was the exact error. We may be able to
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:targetApi="21"
+ android:width="48dp"
+ android:height="48dp"
+ android:viewportWidth="48"
+ android:viewportHeight="48">
+
+ <path
+ android:pathData="M0 0h48v48H0z" />
+ <path
+ android:fillColor="@color/google_grey_600"
+ android:pathData="M44 32V8c0-2.21-1.79-4-4-4H16c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h24c2.21 0
+4-1.79 4-4zm-22-8l4.06 5.42L32 22l8 10H16l6-8zM4 12v28c0 2.21 1.79 4 4
+4h28v-4H8V12H4z" />
+</vector>

Powered by Google App Engine
This is Rietveld 408576698