327 lines
13 KiB
XML
327 lines
13 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="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="@string/layout_screen_tip1"
|
|
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="5dp"
|
|
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:id="@+id/age_all"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:checked="true"
|
|
android:gravity="center"
|
|
android:tag="all"
|
|
android:text="@string/layout_screen_tip2"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/age_type1"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="18-25"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/age_type2"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="26-30"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/age_type3"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="31-35"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/age_type4"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="36-40"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/age_type5"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:text="@string/layout_screen_tip3"
|
|
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="@string/layout_screen_tip4"
|
|
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:id="@+id/sex_all"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:checked="true"
|
|
android:gravity="center"
|
|
android:tag="all"
|
|
android:text="@string/layout_screen_tip2"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/sex_man"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:tag="1"
|
|
android:text="@string/layout_screen_tip5"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/sex_woman"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:tag="2"
|
|
android:text="@string/layout_screen_tip6"
|
|
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="@string/layout_screen_tip7"
|
|
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:id="@+id/auth_all"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:checked="true"
|
|
android:gravity="center"
|
|
android:tag="all"
|
|
android:text="@string/layout_screen_tip2"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/auth_true"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:gravity="center"
|
|
android:tag="2"
|
|
android:text="@string/layout_screen_tip8"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/auth_false"
|
|
android:layout_width="62dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginStart="10dp"
|
|
android:background="@drawable/bg_home_search_checked"
|
|
android:button="@null"
|
|
android:tag="1"
|
|
android:gravity="center"
|
|
android:text="@string/layout_screen_tip9"
|
|
android:textColor="@drawable/bg_home_search_text"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
</com.shayu.onetoone.widget.flexboxradiogroup.FlexBoxRadioGroup>
|
|
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/button_layout"
|
|
android:orientation="horizontal"
|
|
android:gravity="center"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/auth_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<Button
|
|
android:id="@+id/reset"
|
|
android:layout_width="151dp"
|
|
android:layout_height="45dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:text="@string/layout_screen_tip11"
|
|
android:layout_marginEnd="32dp"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="14sp" />
|
|
<Button
|
|
android:id="@+id/apply"
|
|
android:layout_width="151dp"
|
|
android:layout_height="45dp"
|
|
android:background="@drawable/bg_home_search_btn"
|
|
android:text="@string/layout_screen_tip10"
|
|
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |