소스 검색

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

Pq 2 년 전
부모
커밋
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"