261 lines
9.9 KiB
XML
261 lines
9.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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white">
|
|
|
|
<include
|
|
android:id="@+id/include3"
|
|
layout="@layout/view_search"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/activity_top"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/age_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="18dp"
|
|
android:orientation="vertical"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/include3">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:text="年龄"
|
|
android:textColor="#333333"
|
|
android:textSize="16sp" />
|
|
|
|
<com.shayu.onetoone.widget.flexboxradiogroup.FlexBoxRadioGroup
|
|
android:id="@+id/age_radio_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:orientation="horizontal"
|
|
app:alignContent="stretch"
|
|
app:alignItems="stretch"
|
|
app:flexWrap="wrap"
|
|
app:justifyContent="flex_start"
|
|
app:layout_wrapBefore="true"
|
|
app:maxLine="3">
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:checked="true"
|
|
android:gravity="center"
|
|
android:text="全部"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="18-25"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="26-30"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="31-35"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="36-40"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="40以上"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
</com.shayu.onetoone.widget.flexboxradiogroup.FlexBoxRadioGroup>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/sex_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="vertical"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/age_layout">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:text="性别"
|
|
android:textColor="#333333"
|
|
android:textSize="16sp" />
|
|
|
|
<com.shayu.onetoone.widget.flexboxradiogroup.FlexBoxRadioGroup
|
|
android:id="@+id/sex_radio_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:orientation="horizontal"
|
|
app:alignContent="stretch"
|
|
app:alignItems="stretch"
|
|
app:flexWrap="wrap"
|
|
app:justifyContent="flex_start"
|
|
app:layout_wrapBefore="true"
|
|
app:maxLine="3">
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:checked="true"
|
|
android:gravity="center"
|
|
android:text="全部"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="男"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="女"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
</com.shayu.onetoone.widget.flexboxradiogroup.FlexBoxRadioGroup>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/auth_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="vertical"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/sex_layout">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:text="是否完成真人认证"
|
|
android:textColor="#333333"
|
|
android:textSize="16sp" />
|
|
|
|
<com.shayu.onetoone.widget.flexboxradiogroup.FlexBoxRadioGroup
|
|
android:id="@+id/auth_radio_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:orientation="horizontal"
|
|
|
|
app:alignContent="stretch"
|
|
app:alignItems="stretch"
|
|
app:flexWrap="wrap"
|
|
app:justifyContent="flex_start"
|
|
app:layout_wrapBefore="true"
|
|
app:maxLine="3">
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:checked="true"
|
|
android:gravity="center"
|
|
android:text="已完成"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="未完成"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
</com.shayu.onetoone.widget.flexboxradiogroup.FlexBoxRadioGroup>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |