<?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"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@drawable/shape_white_top_20r"
|
android:orientation="vertical"
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
<TextView
|
android:id="@+id/mtvNeedClassHour"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="20dp"
|
android:text="所需课时数:30"
|
android:textColor="@color/black"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/rv_list"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:maxHeight="300dp" />
|
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="10dp"
|
android:orientation="horizontal">
|
|
|
<TextView
|
android:id="@+id/tv_cancel"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_orange_line_20dp"
|
android:paddingHorizontal="57dp"
|
android:paddingVertical="10dp"
|
android:text="取消"
|
android:textColor="@color/colorPrimary"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:id="@+id/tv_action"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="20dp"
|
android:layout_marginBottom="18dp"
|
android:background="@drawable/bg_orange_20dp"
|
android:paddingHorizontal="40dp"
|
android:paddingVertical="10dp"
|
android:text="确认支付"
|
android:textColor="@color/white"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|