Commit b2eb9b57 authored by jianglx's avatar jianglx

2020-3-19 修改发现图片显示失真的问题,改为centerCrop

parent fb3385ce
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
android:id="@+id/iv_icon_pat" android:id="@+id/iv_icon_pat"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY"/> android:scaleType="centerCrop"/>
<ImageView <ImageView
android:id="@+id/iv_isvideo" android:id="@+id/iv_isvideo"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<ImageView <ImageView
android:scaleType="fitXY" android:scaleType="centerCrop"
android:id="@+id/iv_icon_video" android:id="@+id/iv_icon_video"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
......
...@@ -385,6 +385,7 @@ ...@@ -385,6 +385,7 @@
android:textSize="@dimen/sp_12" /> android:textSize="@dimen/sp_12" />
<TextView <TextView
android:visibility="gone"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:drawableRight="@drawable/common_icon_rig_black_gray" android:drawableRight="@drawable/common_icon_rig_black_gray"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
android:id="@+id/iv_icon_pat" android:id="@+id/iv_icon_pat"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY"/> android:scaleType="centerCrop"/>
<ImageView <ImageView
android:id="@+id/iv_isvideo" android:id="@+id/iv_isvideo"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment