Fix ImageView for pre 21

This commit is contained in:
max-klaus 2020-05-13 17:56:05 +03:00
parent e0573fdbf9
commit 83d06a5efc
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
android:background="?attr/activity_background_basic" android:background="?attr/activity_background_basic"
tools:paddingTop="16dp"> tools:paddingTop="16dp">
<ImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/device_image" android:id="@+id/device_image"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -20,7 +20,7 @@
android:adjustViewBounds="true" android:adjustViewBounds="true"
tools:src="@drawable/img_settings_device_top_dark" /> tools:src="@drawable/img_settings_device_top_dark" />
<ImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/image" android:id="@+id/image"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View file

@ -7,7 +7,7 @@
android:minHeight="@dimen/setting_list_item_large_height" android:minHeight="@dimen/setting_list_item_large_height"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/icon" android:id="@+id/icon"
android:layout_width="@dimen/standard_icon_size" android:layout_width="@dimen/standard_icon_size"
android:layout_height="@dimen/standard_icon_size" android:layout_height="@dimen/standard_icon_size"