<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_add_student"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:text="添加人员"
|
android:textSize="14sp"
|
android:layout_marginTop="15dp"
|
android:layout_marginEnd="14dp"
|
android:drawablePadding="6dp"
|
android:paddingVertical="10dp"
|
android:drawableEnd="@mipmap/ic_add"/>
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/rv_student"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/tv_add_student"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|