<?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_1"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
android:text="当前运动营成员:"
|
android:textColor="@color/colorTextDark"
|
android:textSize="18sp"
|
android:textStyle="bold"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="18dp"/>
|
<com.flyco.tablayout.SlidingTabLayout
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
app:layout_constraintTop_toBottomOf="@id/tv_1"
|
app:tl_textBold="BOTH"
|
app:tl_textSelectColor="@color/black"
|
app:tl_textUnselectColor="@color/textColor66"
|
app:tl_indicator_color="@color/colorPrimary"
|
app:tl_indicator_corner_radius="2dp"
|
app:tl_indicator_height="3dp"
|
android:layout_marginTop="12dp"
|
app:tl_indicator_width="56dp"
|
app:tl_textsize="16sp"
|
app:tl_tab_space_equal="true"
|
android:id="@+id/tab_top"/>
|
<TextView
|
android:id="@+id/tv_search"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="搜索"
|
android:textColor="@color/colorPrimary"
|
android:padding="10dp"
|
app:layout_constraintBaseline_toBaselineOf="@id/et_search"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginEnd="4dp"
|
android:textSize="14sp"
|
android:textStyle="bold"/>
|
<EditText
|
android:id="@+id/et_search"
|
android:layout_width="0dp"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/tv_search"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/tab_top"
|
android:layout_marginTop="12dp"
|
android:textSize="14sp"
|
android:hint="输入门店名称"
|
android:paddingVertical="10dp"
|
android:drawablePadding="6dp"
|
android:paddingHorizontal="4dp"
|
android:drawableStart="@mipmap/icon_search_gray"
|
android:background="@drawable/bg_grey_4dp"
|
android:layout_marginStart="14dp"/>
|
<CheckBox
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/cb_type"
|
android:button="@null"
|
android:background="@null"
|
app:layout_constraintTop_toBottomOf="@id/et_search"
|
android:text="上课时间"
|
android:layout_marginTop="4dp"
|
android:paddingVertical="13dp"
|
android:textSize="16sp"
|
android:drawablePadding="1dp"
|
android:textColor="@color/selector_black_red"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="14dp"
|
android:drawableEnd="@drawable/selector_filter_check"/>
|
|
<androidx.viewpager.widget.ViewPager
|
android:id="@+id/view_pager"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/cb_type"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="6dp"
|
app:layout_constraintTop_toTopOf="@id/view_pager"
|
android:background="@drawable/bg_shadow_top"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|