提现 UI

This commit is contained in:
renhaoting 2025-11-24 18:14:54 +08:00
parent 1e8e91d796
commit cdc015c3e1
4 changed files with 149 additions and 43 deletions

View File

@ -19,6 +19,10 @@ class WithDrawActivity : AppViewsActivity<ViewBinding, UiState, ViewModel>(), On
override val mViewModel: ViewModel by viewModels() override val mViewModel: ViewModel by viewModels()
override fun inflateViewBinding(inflater: LayoutInflater) = ViewBinding.inflate(inflater) override fun inflateViewBinding(inflater: LayoutInflater) = ViewBinding.inflate(inflater)
override fun ViewBinding.initWindowInsets() {
setImmerseRootView(contentRoot)
}
override fun ViewBinding.initViews() { override fun ViewBinding.initViews() {
//TODO("Not yet implemented") //TODO("Not yet implemented")
} }

View File

@ -10,11 +10,23 @@
android:background="@color/black" android:background="@color/black"
/> />
<LinearLayout
android:id="@+id/content_root"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.ama.core.architecture.widget.CustomTitleBar
android:id="@+id/titlebar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="15dp" android:layout_marginLeft="15dp"
android:layout_marginTop="60dp" android:layout_marginTop="20dp"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="30dp" android:paddingTop="30dp"
android:paddingLeft="20dp" android:paddingLeft="20dp"
@ -31,7 +43,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="14sp" android:textSize="14sp"
android:textColor="@color/white_alpha_cc" android:textColor="@color/white_alpha_cc"
android:text="@string/termina" android:text="@string/meu"
android:layout_centerVertical="true" android:layout_centerVertical="true"
/> />
@ -67,7 +79,22 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="21sp" android:textSize="21sp"
android:textColor="@color/yellow_46" android:textColor="@color/yellow_46"
android:text="@string/termina" android:text="@string/cash01"
android:layout_marginStart="5dp"
/>
</LinearLayout>
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:paddingVertical="6dp"
android:paddingHorizontal="12dp"
android:layout_gravity="bottom|right"
android:background="@drawable/bg_benefit_top_white"
android:textSize="14sp"
android:textColor="@color/green_39"
android:text="@string/genha"
android:layout_marginStart="5dp" android:layout_marginStart="5dp"
/> />
</LinearLayout> </LinearLayout>
@ -75,10 +102,80 @@
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="25dp"
android:layout_marginLeft="15dp"
android:textSize="16sp"
android:textStyle="bold"
android:textColor="@color/gray3"
android:text="@string/with_draw_select_number"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="15dp"
android:layout_marginTop="10dp"
android:orientation="vertical">
</LinearLayout> </LinearLayout>
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="25dp"
android:layout_marginLeft="15dp"
android:textSize="16sp"
android:textStyle="bold"
android:textColor="@color/gray3"
android:text="@string/pix2_title"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="15dp"
android:layout_marginTop="10dp"
android:orientation="vertical">
</LinearLayout>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_sacar"
android:layout_width="345dp"
android:layout_height="66dp"
android:layout_marginTop="145dp"
android:layout_gravity="center_horizontal"
android:paddingVertical="8dp"
android:gravity="center"
android:background="@mipmap/bg_but_green"
android:textSize="18sp"
android:textStyle="bold"
android:textColor="@color/white"
android:text="@string/sacar"
/>
</LinearLayout>
</FrameLayout> </FrameLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -50,6 +50,11 @@
<string name="zero_buy_rule_dialog_descript">Número Sorteado = Segundos da Conclusão % Número de Participantes + 1%: Computes the remainder after division by team size.</string> <string name="zero_buy_rule_dialog_descript">Número Sorteado = Segundos da Conclusão % Número de Participantes + 1%: Computes the remainder after division by team size.</string>
<string name="zero_buy_rule_dialog_rule">· Gaste Moedas de Propaganda para participar;\n <![CDATA[·Draw when ful l& Reembolso automático se não completar.]]></string> <string name="zero_buy_rule_dialog_rule">· Gaste Moedas de Propaganda para participar;\n <![CDATA[·Draw when ful l& Reembolso automático se não completar.]]></string>
<string name="understood">Entendi</string> <string name="understood">Entendi</string>
<string name="genha">Ganhe Mais</string>
<string name="meu">Meu Dinheiro</string>
<string name="with_draw_select_number">Selecione o valor</string>
<string name="pix2_title">Método de retirada</string>
<string name="sacar">Sacar</string>
</resources> </resources>