diff options
Diffstat (limited to 'core/java/android/widget/ImageView.java')
-rw-r--r-- | core/java/android/widget/ImageView.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/java/android/widget/ImageView.java b/core/java/android/widget/ImageView.java index 757038c..dd9bdb6 100644 --- a/core/java/android/widget/ImageView.java +++ b/core/java/android/widget/ImageView.java @@ -127,15 +127,16 @@ public class ImageView extends View { initImageView(); } - public ImageView(Context context, AttributeSet attrs) { + public ImageView(Context context, @Nullable AttributeSet attrs) { this(context, attrs, 0); } - public ImageView(Context context, AttributeSet attrs, int defStyleAttr) { + public ImageView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { this(context, attrs, defStyleAttr, 0); } - public ImageView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { + public ImageView(Context context, @Nullable AttributeSet attrs, int defStyleAttr, + int defStyleRes) { super(context, attrs, defStyleAttr, defStyleRes); initImageView(); |