Przeglądaj źródła

修复图片显示问题

zengjiebin 7 lat temu
rodzic
commit
70dfc2493b
1 zmienionych plików z 2 dodań i 0 usunięć
  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