user_activity_sex_birth_layout.xml 5.78 KB
Newer Older
徐健 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center_horizontal">

    <TextView
        android:id="@+id/sex_and_birth_out"
        android:layout_width="68dp"
        android:layout_height="60dp"
        android:gravity="center"
        android:text="退出"
        android:textSize="14dp"
        android:textColor="#999999"
        android:layout_gravity="right"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="12dp"
        android:text="欢迎来到壹点灵"
22
        android:textColor="@color/platform_main_theme"
徐健 committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
        android:textStyle="bold"
        android:textSize="28dp"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="请完善信息,以便我们为您提供更好的服务"
        android:textSize="16dp"
        android:textColor="#999999"
        android:layout_marginTop="2dp"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="您的性别是?"
        android:textSize="18dp"
        android:textColor="#242424"
        android:layout_marginTop="40dp"
徐健 committed
41
        android:layout_marginBottom="22dp"
徐健 committed
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
        android:textStyle="bold"/>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        >
        <RelativeLayout
            android:id="@+id/male_rl"
            android:layout_marginRight="25dp"
            android:layout_width="97dp"
            android:layout_height="116dp"
            android:gravity="center"
            android:background="@drawable/user_collect_unselect_bg">
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:gravity="center_horizontal">
                <ImageView
                    android:id="@+id/male_img"
                    android:layout_width="50dp"
                    android:layout_height="50dp"
                    android:scaleType="centerCrop"
                    android:src="@drawable/user_male_unselected"/>
                <TextView
                    android:id="@+id/male_txt"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="男"
                    android:textColor="#242424"
                    android:textSize="18dp"
                    android:layout_marginTop="13dp"
                    />
            </LinearLayout>
        </RelativeLayout>
        <RelativeLayout
            android:id="@+id/female_rl"
            android:layout_marginLeft="25dp"
            android:layout_width="97dp"
            android:layout_height="116dp"
            android:gravity="center"
            android:background="@drawable/user_collect_unselect_bg">
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:gravity="center_horizontal">
                <ImageView
                    android:id="@+id/female_img"
                    android:layout_width="50dp"
                    android:layout_height="50dp"
                    android:scaleType="centerCrop"
                    android:src="@drawable/user_female_unselected"/>
                <TextView
                    android:id="@+id/female_txt"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="女"
                    android:textColor="#242424"
                    android:textSize="18dp"
                    android:layout_marginTop="13dp"
                    />
            </LinearLayout>
        </RelativeLayout>
    </LinearLayout>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="您是哪年出生的?"
        android:textSize="18dp"
        android:textColor="#242424"
        android:layout_marginTop="45dp"
        android:textStyle="bold"/>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:layout_marginTop="22dp"
        android:layout_marginBottom="2dp"
徐健 committed
124
        android:gravity="center_horizontal">
徐健 committed
125 126 127 128

        <com.yidianling.user.ui.collect.widget.CustomNumberPicker
            android:id="@+id/user_collect_date_pick"
            android:layout_width="match_parent"
徐健 committed
129
            android:layout_height="wrap_content">
徐健 committed
130 131 132 133 134 135 136 137 138 139 140 141
        </com.yidianling.user.ui.collect.widget.CustomNumberPicker>

    </RelativeLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="0.5dp"
        android:background="#ebebeb"/>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="64dp"
142
        android:gravity="center_horizontal">
徐健 committed
143 144 145 146 147 148
        <TextView
            android:id="@+id/sex_and_birth_upload_btn"
            android:layout_marginLeft="17dp"
            android:layout_marginRight="17dp"
            android:layout_width="match_parent"
            android:layout_height="44dp"
149
            android:layout_marginTop="10dp"
徐健 committed
150 151 152 153 154 155 156 157
            android:gravity="center"
            android:text="确定"
            android:textSize="17dp"
            android:textColor="#ffffff"
            android:background="@drawable/user_collect_bottom_btn_un_bg"/>
    </RelativeLayout>

</LinearLayout>