diff options
Diffstat (limited to 'mobile/android/base/java/org/mozilla/gecko/widget/SquaredImageView.java')
-rw-r--r-- | mobile/android/base/java/org/mozilla/gecko/widget/SquaredImageView.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/mobile/android/base/java/org/mozilla/gecko/widget/SquaredImageView.java b/mobile/android/base/java/org/mozilla/gecko/widget/SquaredImageView.java deleted file mode 100644 index 0b77e9d1c..000000000 --- a/mobile/android/base/java/org/mozilla/gecko/widget/SquaredImageView.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.mozilla.gecko.widget; - -import android.content.Context; -import android.util.AttributeSet; -import android.widget.ImageView; - -final class SquaredImageView extends ImageView { - public SquaredImageView(Context context) { - super(context); - } - - public SquaredImageView(Context context, AttributeSet attrs) { - super(context, attrs); - } - - @Override - protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { - super.onMeasure(widthMeasureSpec, heightMeasureSpec); - setMeasuredDimension(getMeasuredWidth(), getMeasuredWidth()); - } -}
\ No newline at end of file |