礼物字体大小进行调整

This commit is contained in:
ningwenqiang 2024-09-27 14:59:18 +08:00
parent de9901707c
commit f92406efa7

View File

@ -40,12 +40,19 @@
tools:src="@mipmap/gif_rose" />
<TextView
app:autoSizeMaxTextSize="11sp"
app:autoSizeMinTextSize="7sp"
app:autoSizeStepGranularity="1sp"
app:autoSizeTextType="uniform"
android:id="@+id/giftNameTv"
android:layout_width="wrap_content"
android:layout_width="0dp"
app:layout_constraintWidth_percent="0.76"
android:layout_height="wrap_content"
android:layout_marginTop="1dp"
android:textColor="@color/white"
android:lines="1"
android:textSize="11sp"
android:gravity="center"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/giftIconImg"