Browse Source

修改首页老师风采视频裁剪模式

Pq 2 years ago
parent
commit
deae6397b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      student/src/main/res/layout/layout_home_teacher_style_item.xml

+ 1 - 1
student/src/main/res/layout/layout_home_teacher_style_item.xml

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