Files
yuliao_and/app/src/main/res/layout/activity_topup.xml
2025-08-08 15:09:02 +08:00

209 lines
9.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:background="@color/white"
android:foreground="?android:attr/selectableItemBackground"
android:orientation="vertical">
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
android:id="@+id/titlebar"
android:layout_width="match_parent"
android:layout_height="?actionBarSize"
app:layout_constraintTop_toTopOf="parent"
app:titleText="充值" />
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="#ededed"
android:visibility="visible"
app:layout_constraintTop_toBottomOf="@id/titlebar" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_f6f5f7"
android:scrollbars="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/titlebar">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical">
<LinearLayout
android:id="@+id/layout_topup_top"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_15"
android:layout_marginTop="10dp"
android:layout_marginEnd="@dimen/dp_15"
android:background="@mipmap/ic_topup_cashbg1"
android:gravity="center_vertical"
android:orientation="horizontal"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_15"
android:layout_weight="1"
android:text="我的零钱"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/dianshu_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/sp_30"
android:layout_marginEnd="15dp"
android:textColor="#FCF0A1"
android:textSize="@dimen/sp_30"
tools:text="0" />
</LinearLayout>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/dp_15"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_15"
android:layout_marginTop="@dimen/dp_15"
android:text="@string/cash_dianshu_xuanze_txt"
android:textColor="@color/color_383838"
android:textSize="14sp"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="64dp"
android:layout_marginLeft="@dimen/dp_15"
android:layout_marginTop="7.5dp"
android:layout_marginRight="@dimen/dp_15"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_10"
android:text="¥"
android:textColor="#ff444444"
android:textSize="16sp" />
<EditText
android:id="@+id/edit_query_et"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:layout_weight="1"
android:background="@color/transparent"
android:digits="0123456789"
android:gravity="center_vertical"
android:hint="0"
android:inputType="number"
android:maxLength="9"
android:paddingRight="@dimen/dp_10"
android:textColor="@color/black"
android:textColorHint="#BCBCBC"
android:textSize="24sp" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:layout_marginStart="@dimen/dp_15"
android:layout_marginEnd="@dimen/dp_15"
android:background="#ededed"
android:visibility="visible" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recylerview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title_tv1"
android:layout_marginLeft="7.5dp"
android:layout_marginTop="7.5dp"
android:layout_marginRight="7.5dp"
android:layout_marginBottom="7.5dp"
android:visibility="visible">
</androidx.recyclerview.widget.RecyclerView>
<View android:layout_width="match_parent"
android:layout_height="@dimen/dp_10"
android:background="@color/color_f6f5f7"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_15"
android:layout_marginTop="@dimen/dp_15"
android:text="@string/cash_paytype"
android:textColor="@color/color_383838"
android:textSize="@dimen/sp_14" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_installment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_7"
android:layout_marginEnd="@dimen/dp_7"
android:visibility="visible" />
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_15"
android:layout_marginTop="@dimen/dp_20"
android:text="充值说明:"
android:textColor="#ff333333"
android:textSize="14sp"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_15"
android:layout_marginEnd="@dimen/dp_15"
android:layout_marginTop="@dimen/dp_10"
android:lineSpacingExtra="@dimen/dp_4"
android:text="如果遇到充值不到账,请第一时间联系平台处理!\n平台保证用户充值数据只要保留支付凭证用户的利益就不会出现损失"
android:textColor="#ff333333"
android:textSize="14sp"
/>
</LinearLayout>
</ScrollView>
</LinearLayout>