float_user_fragment.xml 4.7 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal" android:layout_width="match_parent"
    android:layout_height="match_parent">

    <View
        android:layout_width="1dp"
        android:layout_height="match_parent"
        android:background="@color/color_5B5B5B"/>

    <LinearLayout
        android:layout_width="match_parent"
        android:orientation="vertical"
        android:layout_height="match_parent">

        <include layout="@layout/float_title_fragment"/>

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:background="@color/color_5B5B5B"/>

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

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="@dimen/y100">

                <ImageView
                    android:id="@+id/user_id_iv"
                    style="@style/user_item_iv"
                    android:background="@drawable/float_user_id"/>
                <TextView
                    android:layout_toRightOf="@+id/user_id_iv"
                    style="@style/user_item_tv"
                    android:text="ID"/>
                <TextView
                    android:id="@+id/user_id_tv"
                    android:layout_width="wrap_content"
                    android:layout_marginRight="@dimen/x24"
                    android:layout_height="wrap_content"
                    android:layout_alignParentRight="true"
                    android:layout_centerVertical="true"
                    android:textSize="@dimen/x24"
                    android:textColor="@color/color_565656"/>
                <View
                    style="@style/view_dotted_line"/>
            </RelativeLayout>
            <RelativeLayout
                android:id="@+id/user_verified_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/y100">

                <ImageView
                    android:id="@+id/user_verified_iv"
                    style="@style/user_item_iv"
                    android:background="@drawable/float_user_verified"/>
                <TextView
                    android:layout_toRightOf="@+id/user_verified_iv"
                    android:text="实名验证"
                    style="@style/user_item_tv"/>
                <TextView
                    android:id="@+id/real_name_already"
                    android:text="已认证"
                    style="@style/user_item_tv"
                    android:visibility="gone"
                    android:layout_marginRight="@dimen/x24"
                    android:layout_alignParentRight="true"/>
                <ImageView
                    android:id="@+id/real_name_arrow"
                    style="@style/user_item_arrow"/>
                <View
                    style="@style/view_dotted_line"/>
            </RelativeLayout>
            <RelativeLayout
                android:id="@+id/user_account_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/y100">

                <ImageView
                    android:id="@+id/user_account_iv"
                    style="@style/user_item_iv"
                    android:background="@drawable/float_user_account"/>
                <TextView
                    android:layout_toRightOf="@+id/user_account_iv"
                    android:text="账号安全"
                    style="@style/user_item_tv"/>
                <ImageView
                    style="@style/user_item_arrow"/>
                <View
                    style="@style/view_dotted_line"/>
            </RelativeLayout>
            <RelativeLayout
                android:id="@+id/user_info_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/y100">

                <ImageView
                    android:id="@+id/user_info_iv"
                    style="@style/user_item_iv"
                    android:background="@drawable/float_user_charge_pwd"/>
                <TextView
                    android:layout_toRightOf="@+id/user_info_iv"
                    android:text="修改密码"
                    style="@style/user_item_tv"/>
                <ImageView
                    style="@style/user_item_arrow"/>
                <View
                    style="@style/view_dotted_line"/>
            </RelativeLayout>

        </LinearLayout>
    </LinearLayout>
</LinearLayout>