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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/widget/TintedImageView.java

Issue 2701533004: Android: Add VectorDrawable support to TintedImageView (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/widget/TintedImageView.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/TintedImageView.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/TintedImageView.java
index c5e6dd47341ca5ac945a5d5cd06361296840b897..ea760ad2ae12c40f48993306f8dc87e75c1f6daa 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/widget/TintedImageView.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/TintedImageView.java
@@ -8,8 +8,8 @@
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
import android.graphics.PorterDuff;
+import android.support.v7.widget.AppCompatImageView;
import android.util.AttributeSet;
-import android.widget.ImageView;
import org.chromium.chrome.R;
@@ -17,7 +17,7 @@
* Implementation of ImageView that allows to tint the color of the image view for all
* image view states using chrome:tint attribute in XML.
*/
-public class TintedImageView extends ImageView {
+public class TintedImageView extends AppCompatImageView {
private ColorStateList mTint;
public TintedImageView(Context context) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698