0元购 底部布局

This commit is contained in:
renhaoting 2025-12-04 15:36:24 +08:00
parent 4feda5f879
commit 9bf2e8fef0
5 changed files with 92 additions and 7 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#33666666" />
<corners android:topLeftRadius="23dp" android:topRightRadius="23dp" android:bottomLeftRadius="23dp" android:bottomRightRadius="23dp" />
</shape>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#33666666" />
<corners android:topLeftRadius="15dp" android:topRightRadius="15dp" android:bottomLeftRadius="15dp" android:bottomRightRadius="15dp" />
</shape>

View File

@ -247,16 +247,80 @@
</LinearLayout>
<!--参加者-->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:padding="15dp"
android:layout_marginHorizontal="16dp"
android:background="@drawable/bg_zero_buy_bottom">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4.5dp"
android:textColor="@color/white"
android:textSize="12sp"
android:text="@string/participar_member"
/>
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4.5dp"
android:textColor="@color/white"
android:textSize="12sp"
android:text="@string/participar_member_2"
/>
</LinearLayout>
</RelativeLayout>
<!--提示信息-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginTop="30dp"
android:gravity="center"
android:padding="15dp"
android:background="@drawable/bg_zero_buy_bottom_hint">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/red_9c"
android:textSize="12sp"
android:text="@string/zero_buy_hint_title"
/>
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/red_9c"
android:layout_marginTop="20dp"
android:textSize="10sp"
android:text="@string/zero_buy_hint_content"
/>
</LinearLayout>
</LinearLayout>
</FrameLayout>
</androidx.core.widget.NestedScrollView>

View File

@ -94,5 +94,6 @@
<color name="blue_ff">#FF0054FF</color>
<color name="red_1b">#FF92521B</color>
<color name="red_28">#FFFF2828</color>
<color name="red_9c">#FFFF9C7C</color>
</resources>

View File

@ -111,5 +111,9 @@
<string name="sorte">Sorteio instantâneo:</string>
<string name="pessoas">pessoas</string>
<string name="participar">Participar</string>
<string name="participar_member">Participe do super sorteio grátis</string>
<string name="participar_member_2">Quase 4 milhões de pessoas na jogada!</string>
<string name="zero_buy_hint_title">Regras para Ganhar</string>
<string name="zero_buy_hint_content"><![CDATA[Número Sorteado = Segundos da Conclusão % Número de Participantes + 1%: Computes the remainder after division by team size.\\n· Gaste Moedas de Propaganda para participar.\n·Draw when ful l& Reembolso automático se não completar]]></string>
</resources>