Преглед изворни кода

修改学生端首页风采视频封面

Pq пре 3 година
родитељ
комит
ccf07c37e7
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      student/src/main/res/layout/layout_home_teacher_style_item.xml

+ 2 - 0
student/src/main/res/layout/layout_home_teacher_style_item.xml

@@ -14,6 +14,8 @@
         android:id="@+id/im_pic"
         android:layout_width="match_parent"
         android:layout_height="@dimen/dp_100"
+        android:scaleType="fitXY"
+        android:adjustViewBounds="true"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintTop_toTopOf="parent"
         app:riv_corner_radius_top_left="@dimen/dp_10"