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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
5
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
6 <vector xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:tools="http://schemas.android.com/tools"
8 tools:targetApi="21"
9 android:width="48dp"
10 android:height="48dp"
11 android:viewportWidth="48"
12 android:viewportHeight="48">
13
14 <path
15 android:pathData="M0 0h48v48H0z" />
16 <path
17 android:fillColor="@color/google_grey_600"
18 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
19 4-1.79 4-4zm-22-8l4.06 5.42L32 22l8 10H16l6-8zM4 12v28c0 2.21 1.79 4 4
20 4h28v-4H8V12H4z" />
21 </vector>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698