瀏覽代碼

修复图片显示问题

zengjiebin 8 年之前
父節點
當前提交
70dfc2493b
共有 1 個文件被更改,包括 2 次插入0 次删除
  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