From 14718a9f516d7fdb0944755e9a8a25e4a2ccecf6 Mon Sep 17 00:00:00 2001 From: Martin Fietz Date: Wed, 10 Jan 2018 21:45:06 +0100 Subject: Custom views extend AppCompatImageView instead of ImageView --- app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main') diff --git a/app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java b/app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java index 27b6ee2bc..11b873fdb 100644 --- a/app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java +++ b/app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java @@ -1,13 +1,14 @@ package de.danoeh.antennapod.view; import android.content.Context; +import android.support.v7.widget.AppCompatImageView; import android.util.AttributeSet; import android.widget.ImageView; /** * From http://stackoverflow.com/a/19449488/6839 */ -public class SquareImageView extends ImageView { +public class SquareImageView extends AppCompatImageView { public SquareImageView(Context context) { super(context); -- cgit v1.2.3