confide_sexage_popup_window.xml 5.4 KB
Newer Older
YKai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <View
        android:layout_width="match_parent"
        android:layout_height="0.5dp"
        android:background="@color/confide_filters_line" />
    <!--之所以要加一层 是因为 要设置白色 背景 但是 TextView改为padding 不好用 比较急 先这样吧-->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:orientation="vertical">

        <TextView
            android:id="@+id/tv_sexTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="8dp"
            android:layout_marginLeft="24dp"
            android:layout_marginTop="25dp"
            android:textColor="@color/_6"
            android:textSize="@dimen/confide_dp_13"
            tools:text="性别筛选" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:orientation="horizontal">

        <TextView xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:tools="http://schemas.android.com/tools"
            android:id="@+id/tvSex1"
            android:layout_width="0px"
            android:layout_height="30dp"
            android:layout_marginLeft="24dp"
            android:layout_marginTop="8dp"
            android:layout_weight="1"
            android:background="@drawable/confide_filter_select_nor"
            android:gravity="center"
            android:orientation="vertical"
            android:textColor="@color/confide_color_filter_selector"
            android:textSize="@dimen/confide_dp_13"
            tools:text="只选男生" />

        <TextView xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:tools="http://schemas.android.com/tools"
            android:id="@+id/tvSex2"
            android:layout_width="0px"
            android:layout_height="30dp"
            android:layout_marginLeft="16dp"
            android:layout_marginRight="16dp"
            android:layout_marginTop="8dp"
            android:layout_weight="1"
            android:background="@drawable/confide_filter_select_nor"
            android:gravity="center"
            android:orientation="vertical"
            android:textColor="@color/confide_color_filter_selector"
            android:textSize="@dimen/confide_dp_13"
            tools:text="只选女生" />

        <TextView
            android:layout_width="0px"
            android:layout_height="30dp"
            android:layout_marginRight="24dp"
            android:layout_weight="1"
            tools:text="站位用 只为了效果 啦啦啦" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:orientation="vertical">

        <TextView
            android:id="@+id/tv_ageTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="8dp"
            android:layout_marginLeft="24dp"
            android:layout_marginTop="25dp"
            android:textColor="@color/_6"
            android:textSize="@dimen/confide_dp_13"
            tools:text="年龄筛选" />

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/rvAge"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="16dp"
            android:layout_marginRight="16dp" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:orientation="horizontal">

        <Button
            android:id="@+id/btnReset"
            android:layout_width="0px"
            android:layout_height="37dp"
            android:layout_marginBottom="24dp"
            android:layout_marginLeft="15dp"
            android:layout_marginTop="8dp"
            android:layout_weight="1"
            android:background="@drawable/confide_filter_reset_btn_bg"
            android:text="@string/platform_reset"
            android:textColor="@color/platform_main_theme"
            android:textSize="@dimen/confide_dp_18" />

        <Button
            android:id="@+id/btnConfirm"
            android:layout_width="0px"
            android:layout_height="37dp"
            android:layout_marginBottom="24dp"
            android:layout_marginLeft="13dp"
            android:layout_marginRight="15dp"
            android:layout_marginTop="8dp"
            android:layout_weight="1"
            android:background="@drawable/confide_filter_btn_bg"
            android:text="@string/platform_confirm"
            android:textColor="@color/white"
            android:textSize="@dimen/confide_dp_18" />
    </LinearLayout>

    <View
        android:id="@+id/v_zhezhao"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#80000000" />
</LinearLayout>