优化金币数超过一定数量后广告图标显示错位的问题
This commit is contained in:
parent
1f07381e19
commit
999e882af3
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
|
@ -84,12 +85,19 @@
|
|||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_gold_total"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textStyle="bold"
|
||||
android:textSize="21sp"
|
||||
android:textColor="@color/pink_0b"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
app:autoSizeTextType="uniform"
|
||||
app:autoSizeMinTextSize="10sp"
|
||||
app:autoSizeMaxTextSize="21sp"
|
||||
app:autoSizeStepGranularity="1sp"
|
||||
android:text="0"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
|
@ -124,6 +132,8 @@
|
|||
android:text="Resgatar"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15sp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
|
@ -173,12 +183,19 @@
|
|||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_cash_total"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textStyle="bold"
|
||||
android:textSize="21sp"
|
||||
android:textColor="@color/green_39"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
app:autoSizeTextType="uniform"
|
||||
app:autoSizeMinTextSize="10sp"
|
||||
app:autoSizeMaxTextSize="21sp"
|
||||
app:autoSizeStepGranularity="1sp"
|
||||
android:text="R$ 0"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
|
@ -194,6 +211,8 @@
|
|||
android:layout_marginTop="11.5dp"
|
||||
android:paddingVertical="3dp"
|
||||
android:text="Sacar"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue