Explorar el Código

修复图片显示问题

zengjiebin hace 7 años
padre
commit
70dfc2493b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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