Newer
Older
CasicSmartWell / app / src / main / res / layout / activity_user_detail.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/mainBackColor"
    android:orientation="vertical">

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

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:padding="@dimen/dp_10">

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

            <RelativeLayout
                android:id="@+id/helpCenterLayout"
                style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="用户名" />

                <TextView
                    android:id="@+id/userNameView"
                    style="@style/textViewStyle"
                    android:layout_alignParentEnd="true"
                    android:textColor="@color/transparentBlack" />
            </RelativeLayout>

            <View style="@style/dividerViewStyle" />

            <RelativeLayout
                android:id="@+id/customerServiceLayout"
                style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="真实姓名" />

                <TextView
                    android:id="@+id/userRealNameView"
                    style="@style/textViewStyle"
                    android:layout_alignParentEnd="true"
                    android:textColor="@color/transparentBlack" />
            </RelativeLayout>

            <View style="@style/dividerViewStyle" />

            <RelativeLayout
                android:id="@+id/updateVersionLayout"
                style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="所属部门" />

                <TextView
                    android:id="@+id/userDeptView"
                    style="@style/textViewStyle"
                    android:layout_alignParentEnd="true"
                    android:textColor="@color/transparentBlack" />
            </RelativeLayout>

            <View style="@style/dividerViewStyle" />

            <RelativeLayout
                android:id="@+id/aboutUsLayout"
                style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="手机号" />

                <TextView
                    android:id="@+id/userPhoneView"
                    style="@style/textViewStyle"
                    android:layout_alignParentEnd="true"
                    android:textColor="@color/transparentBlack" />
            </RelativeLayout>
        </LinearLayout>

        <RelativeLayout
            android:id="@+id/changePwdLayout"
            style="@style/itemLayoutStyle"
            android:layout_marginVertical="@dimen/dp_20">

            <TextView
                style="@style/textViewStyle"
                android:text="修改密码" />

            <ImageView style="@style/rightImageStyle" />
        </RelativeLayout>

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
                android:id="@+id/loginOutButton"
                style="@style/buttonStyle"
                android:layout_alignParentBottom="true"
                android:layout_marginHorizontal="20dp"
                android:layout_marginTop="20dp"
                android:layout_marginBottom="20dp"
                android:text="退出登录" />
        </RelativeLayout>
    </LinearLayout>
</LinearLayout>