<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
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:layout_centerInParent="true"
|
android:layout_marginStart="45dp"
|
android:layout_marginTop="45dp"
|
android:layout_marginEnd="45dp"
|
android:layout_marginBottom="45dp"
|
android:background="@drawable/shape_white_8r"
|
android:gravity="center_horizontal"
|
android:orientation="vertical">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="24dp"
|
android:text="分配课时"
|
android:textStyle="bold"
|
android:textColor="@color/black"
|
android:textSize="18sp" />
|
|
<TextView
|
android:id="@+id/mtvinfo"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:textColor="@color/colorPrimary"
|
android:textSize="14sp"
|
tools:text="未分配课时数:100" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp"
|
android:text="分配运动营:"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/mrl"
|
android:maxHeight="200dp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp" />
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
android:layout_marginBottom="25dp">
|
|
<TextView
|
android:id="@+id/tv_cancel"
|
style="@style/style_btn_cancel"
|
android:layout_width="120dp"
|
android:layout_height="wrap_content"
|
android:background="@drawable/bg_btn_disable"
|
android:text="关闭"
|
android:textColor="@color/white" />
|
|
<TextView
|
android:id="@+id/tv_action"
|
style="@style/style_btn_action"
|
android:layout_width="120dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="20dp"
|
android:text="确认" />
|
</LinearLayout>
|
</LinearLayout>
|
</RelativeLayout>
|