| | |
| | | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/page_bg" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto"> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/cl" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:paddingBottom="30dp" |
| | | android:background="@drawable/bg_white_10dp" |
| | | android:layout_marginHorizontal="14dp" |
| | | android:layout_marginTop="10dp"> |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_way" |
| | | android:text="微信" |
| | | android:layout_marginHorizontal="10dp" |
| | | android:drawableEnd="@mipmap/more_black" |
| | | android:paddingVertical="13dp" |
| | | android:drawablePadding="10dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | android:gravity="end"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintStart_toStartOf="@id/tv_way" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_way" |
| | | android:text="充值方式" |
| | | android:textStyle="bold" |
| | | android:textSize="16sp" |
| | | android:textColor="@color/textColor"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:layout_marginHorizontal="10dp" |
| | | android:background="@color/dividing_line_color" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_way"/> |
| | | <TextView |
| | | android:text="充值金额" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_money" |
| | | android:layout_marginStart="14dp" |
| | | style="@style/style_common_text" |
| | | android:textStyle="bold" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_way" |
| | | android:layout_marginStart="10dp" |
| | | android:layout_marginTop="13dp" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="14sp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_1"/> |
| | | <EditText |
| | | android:layout_width="0dp" |
| | | android:layout_width="match_parent" |
| | | app:layout_constraintStart_toEndOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="14dp" |
| | | android:layout_marginStart="27dp" |
| | | android:layout_marginStart="55dp" |
| | | android:layout_height="wrap_content" |
| | | android:inputType="numberDecimal" |
| | | android:textColor="@color/textColor" |
| | | android:hint="请输入" |
| | | android:hint="请输入充值金额" |
| | | android:id="@+id/et_money" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:paddingVertical="15dp" |
| | | android:textStyle="bold" |
| | | android:textSize="14sp" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_1" |
| | | android:paddingVertical="17dp" |
| | | android:layout_marginTop="5dp" |
| | | android:textSize="18sp" |
| | | android:background="@null"/> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_money" |
| | | app:layout_constraintStart_toStartOf="@id/tv_1" |
| | | android:text="¥" |
| | | android:textSize="24sp" |
| | | android:textColor="@color/textColor" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:background="@color/dividing_line_color" |
| | | android:layout_height="1px" |
| | | app:layout_constraintTop_toBottomOf="@id/et_money" |
| | | android:layout_marginHorizontal="14dp"/> |
| | | android:layout_marginHorizontal="10dp"/> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | |
| | | |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_btn_action" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="30dp" |
| | | android:layout_marginHorizontal="45dp" |
| | | app:layout_constraintTop_toBottomOf="@id/cl" |
| | | android:layout_marginTop="60dp" |
| | | android:layout_marginHorizontal="35dp" |
| | | android:text="确认" |
| | | android:id="@+id/tv_action"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |