Просмотр исходного кода

修改学生端首页闪页尺寸不正确的问题

Pq 2 лет назад
Родитель
Сommit
887eaa5219
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      student/src/main/res/layout/dialog_home_dialog.xml

+ 4 - 2
student/src/main/res/layout/dialog_home_dialog.xml

@@ -13,10 +13,12 @@
         android:layout_height="wrap_content"
         android:layout_centerInParent="true">
 
-        <com.cooleshow.base.widgets.QMUIRadiusImageView
+        <ImageView
             android:id="@+id/im_pic"
+            android:adjustViewBounds="true"
             android:layout_width="match_parent"
-            android:layout_height="320dp"
+            android:layout_height="wrap_content"
+            android:minHeight="320dp"
             app:qmui_corner_radius="@dimen/dp_20"
             app:layout_constraintLeft_toLeftOf="parent"
             app:layout_constraintTop_toTopOf="parent" />