| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/rootLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#F5F5F5">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/clTopBar"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:paddingHorizontal="16dp"
- android:paddingVertical="12dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <ImageView
- android:id="@+id/ivBack"
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:src="@drawable/ic_back"
- android:tint="#333333"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/tvTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="提现"
- android:textColor="#333333"
- android:textSize="18sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.core.widget.NestedScrollView
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:fillViewport="true"
- app:layout_constraintBottom_toTopOf="@id/btnConfirm"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/clTopBar">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="16dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/sp_r10_white"
- android:orientation="vertical"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="提现金额"
- android:textColor="#999999"
- android:textSize="14sp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="¥"
- android:textColor="#333333"
- android:textSize="24sp"
- android:textStyle="bold" />
- <EditText
- android:id="@+id/etAmount"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:hint="请输入提现金额"
- android:inputType="number"
- android:maxLines="1"
- android:textColor="#333333"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/btnAll"
- android:layout_width="wrap_content"
- android:layout_height="32dp"
- android:layout_marginStart="8dp"
- android:background="@drawable/sp_r16_stroke_ff9800"
- android:gravity="center"
- android:paddingHorizontal="12dp"
- android:text="全部"
- android:textColor="#FF9800"
- android:textSize="12sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_marginTop="12dp"
- android:background="#EEEEEE" />
- <TextView
- android:id="@+id/tvAvailable"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="12dp"
- android:text="可提现金额: 0元"
- android:textColor="#333333"
- android:textSize="14sp"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/tvPointsLeft"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:text="剩余积分: 0"
- android:textColor="#999999"
- android:textSize="12sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="4dp"
- android:text="提现比例: 10000积分=1元"
- android:textColor="#FF9800"
- android:textSize="12sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:background="@drawable/sp_r10_white"
- android:orientation="vertical"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="提现到"
- android:textColor="#333333"
- android:textSize="14sp"
- android:textStyle="bold" />
- <LinearLayout
- android:id="@+id/llBankCard"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <FrameLayout
- android:layout_width="32dp"
- android:layout_height="32dp"
- android:background="@drawable/sp_r4_solid_e3f2fd">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="卡"
- android:textColor="#1976D2"
- android:textSize="14sp"
- android:textStyle="bold" />
- </FrameLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="12dp"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tvBankName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="请添加银行卡"
- android:textColor="#999999"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/tvBankNo"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="2dp"
- android:text=""
- android:textColor="#999999"
- android:textSize="14sp"
- android:visibility="gone" />
- </LinearLayout>
- <TextView
- android:id="@+id/tvAddHint"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="去添加"
- android:textColor="#999999"
- android:textSize="14sp"
- android:visibility="gone" />
- <ImageView
- android:layout_width="16dp"
- android:layout_height="16dp"
- android:layout_marginStart="4dp"
- android:src="@drawable/ic_arrow_right_gray" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="24dp"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="提现说明"
- android:textColor="#666666"
- android:textSize="14sp"
- android:textStyle="bold" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:text="1.每笔提现手续费为提现额的6%"
- android:textColor="#999999"
- android:textSize="12sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="2.整百及整百的倍数方可提现"
- android:textColor="#999999"
- android:textSize="12sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="3.每天可提现1次"
- android:textColor="#999999"
- android:textSize="12sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="4.每个id每天提现上限额为1亿积分"
- android:textColor="#999999"
- android:textSize="12sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="5.法定节假日不打款"
- android:textColor="#999999"
- android:textSize="12sp" />
- </LinearLayout>
- </LinearLayout>
- </androidx.core.widget.NestedScrollView>
- <Button
- android:id="@+id/btnConfirm"
- android:layout_width="0dp"
- android:layout_height="48dp"
- android:layout_margin="16dp"
- android:background="@drawable/sp_r24_gradient_ff9800_ff5722"
- android:text="确认提现"
- android:textColor="@color/white"
- android:textSize="16sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
|