Parcourir la source

修复图片显示问题

zengjiebin il y a 7 ans
Parent
commit
70dfc2493b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      app/src/main/res/layout/find_item.xml

+ 2 - 0
app/src/main/res/layout/find_item.xml

@@ -46,6 +46,8 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_marginTop="@dimen/dp_10"
+        android:scaleType="fitXY"
+        android:adjustViewBounds="true"
         android:src="@mipmap/icon" />
 
     <RelativeLayout