94 lines
3.9 KiB
XML
94 lines
3.9 KiB
XML
<?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="wrap_content"
|
|
android:background="@drawable/shape_white_top_cor16">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_16"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:text="已选择0人"
|
|
android:textColor="@color/color_222222"
|
|
android:textSize="@dimen/sp_17"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/iv_close"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/dp_12"
|
|
android:padding="@dimen/dp_3"
|
|
android:src="@mipmap/ic_close"
|
|
app:layout_constraintBottom_toBottomOf="@id/tv_title"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/tv_title" />
|
|
|
|
<com.cheng.bole.widget.CommonShapeView
|
|
android:id="@+id/btn_add"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:layout_marginTop="@dimen/dp_20"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:drawableStart="@mipmap/ic_add_contacts"
|
|
android:drawablePadding="@dimen/dp_2"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:text="添加联系人"
|
|
android:textColor="@color/color_125ffe"
|
|
android:textSize="@dimen/sp_14"
|
|
app:csb_cornerRadius="@dimen/dp_10"
|
|
app:csb_drawablePosition="left"
|
|
app:csb_strokeColor="@color/color_125ffe"
|
|
app:csb_strokeWidth="@dimen/dp_1"
|
|
app:layout_constraintTop_toBottomOf="@id/tv_title" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/mRecyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_300"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:layout_marginTop="@dimen/dp_4"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
app:layout_constraintTop_toBottomOf="@id/btn_add"
|
|
tools:listitem="@layout/listitem_contacts" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#E8E8E8"
|
|
app:layout_constraintTop_toBottomOf="@id/mRecyclerView" />
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/layout_bottom"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="@dimen/dp_16"
|
|
android:paddingTop="@dimen/dp_9"
|
|
android:paddingEnd="@dimen/dp_16"
|
|
android:paddingBottom="@dimen/dp_30"
|
|
app:layout_constraintTop_toBottomOf="@id/mRecyclerView">
|
|
|
|
<com.cheng.bole.widget.CommonShapeView
|
|
android:id="@+id/btn_next"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:text="确定"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/sp_16"
|
|
app:csb_cornerRadius="@dimen/dp_10"
|
|
app:csb_fillColor="@color/color_125ffe"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |