diff options
author | Martin Fietz <martin.fietz@gmail.com> | 2018-01-10 21:45:06 +0100 |
---|---|---|
committer | Martin Fietz <martin.fietz@gmail.com> | 2018-01-10 21:45:06 +0100 |
commit | 14718a9f516d7fdb0944755e9a8a25e4a2ccecf6 (patch) | |
tree | a200d92e5a8d8128a44b5225014fc18661ec7f07 /app/src/main | |
parent | 2c9582c947a4dcac567048e0445d83576fd22839 (diff) | |
download | AntennaPod-14718a9f516d7fdb0944755e9a8a25e4a2ccecf6.zip |
Custom views extend AppCompatImageView instead of ImageView
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java | 3 |
1 files changed, 2 insertions, 1 deletions
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); |