zhangbing 1 год назад
Родитель
Сommit
ff7d17b133
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      app/src/main/res/layout/activity_tb.xml

+ 3 - 3
app/src/main/res/layout/activity_tb.xml

@@ -8,7 +8,7 @@
8
     <View
8
     <View
9
         android:id="@+id/bg_view"
9
         android:id="@+id/bg_view"
10
         android:layout_width="match_parent"
10
         android:layout_width="match_parent"
11
-        android:layout_height="150dp"
11
+        android:layout_height="160dp"
12
         android:background="#ED372E"
12
         android:background="#ED372E"
13
         app:layout_constraintLeft_toLeftOf="parent"
13
         app:layout_constraintLeft_toLeftOf="parent"
14
         app:layout_constraintTop_toTopOf="parent" />
14
         app:layout_constraintTop_toTopOf="parent" />
@@ -104,11 +104,11 @@
104
     <com.yihucha.hbyhc.view.RoundCornerImageView
104
     <com.yihucha.hbyhc.view.RoundCornerImageView
105
         android:id="@+id/banner"
105
         android:id="@+id/banner"
106
         android:layout_width="match_parent"
106
         android:layout_width="match_parent"
107
-        android:layout_height="150dp"
107
+        android:layout_height="160dp"
108
         android:layout_marginLeft="@dimen/dp_10"
108
         android:layout_marginLeft="@dimen/dp_10"
109
         android:layout_marginTop="10dp"
109
         android:layout_marginTop="10dp"
110
         android:layout_marginRight="@dimen/dp_10"
110
         android:layout_marginRight="@dimen/dp_10"
111
-        android:scaleType="centerCrop"
111
+        android:scaleType="fitXY"
112
         app:layout_constraintLeft_toLeftOf="parent"
112
         app:layout_constraintLeft_toLeftOf="parent"
113
         app:layout_constraintTop_toBottomOf="@+id/layout_search"
113
         app:layout_constraintTop_toBottomOf="@+id/layout_search"
114
         app:rciv_radius="10dp" />
114
         app:rciv_radius="10dp" />