Selaa lähdekoodia

2025-4-23
问题调整提交

zhangbing 1 vuosi sitten
vanhempi
commit
ff7d17b133
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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 8
     <View
9 9
         android:id="@+id/bg_view"
10 10
         android:layout_width="match_parent"
11
-        android:layout_height="150dp"
11
+        android:layout_height="160dp"
12 12
         android:background="#ED372E"
13 13
         app:layout_constraintLeft_toLeftOf="parent"
14 14
         app:layout_constraintTop_toTopOf="parent" />
@@ -104,11 +104,11 @@
104 104
     <com.yihucha.hbyhc.view.RoundCornerImageView
105 105
         android:id="@+id/banner"
106 106
         android:layout_width="match_parent"
107
-        android:layout_height="150dp"
107
+        android:layout_height="160dp"
108 108
         android:layout_marginLeft="@dimen/dp_10"
109 109
         android:layout_marginTop="10dp"
110 110
         android:layout_marginRight="@dimen/dp_10"
111
-        android:scaleType="centerCrop"
111
+        android:scaleType="fitXY"
112 112
         app:layout_constraintLeft_toLeftOf="parent"
113 113
         app:layout_constraintTop_toBottomOf="@+id/layout_search"
114 114
         app:rciv_radius="10dp" />