<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/rootView" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/mainBackColor" android:orientation="vertical"> <com.pengxh.kt.lite.widget.TitleBarView android:id="@+id/titleView" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/mainThemeColor" app:tbv_left_image="@drawable/ic_title_left" app:tbv_only_show_title="false" app:tbv_show_left_image="true" app:tbv_show_right_image="false" app:tbv_text="个人资料" app:tbv_text_color="@color/white" app:tbv_text_size="@dimen/sp_18" /> <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_solid_layout_white_radius_10" android:orientation="vertical"> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="用户名" /> <TextView android:id="@+id/userNameView" style="@style/textViewStyle" android:layout_alignParentEnd="true" android:textColor="@color/subTextColor" /> </RelativeLayout> <View style="@style/dividerViewStyle" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="真实姓名" /> <TextView android:id="@+id/userRealNameView" style="@style/textViewStyle" android:layout_alignParentEnd="true" android:textColor="@color/subTextColor" /> </RelativeLayout> <View style="@style/dividerViewStyle" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="所属部门" /> <TextView android:id="@+id/userDeptView" style="@style/textViewStyle" android:layout_alignParentEnd="true" android:textColor="@color/subTextColor" /> </RelativeLayout> <View style="@style/dividerViewStyle" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="手机号" /> <TextView android:id="@+id/userPhoneView" style="@style/textViewStyle" android:layout_alignParentEnd="true" android:textColor="@color/subTextColor" /> </RelativeLayout> <View style="@style/dividerViewStyle" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="CID" /> <TextView android:id="@+id/pushIdView" style="@style/textViewStyle" android:layout_alignParentEnd="true" android:textColor="@color/subTextColor" /> </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"> <Button android:id="@+id/loginOutButton" style="@style/MainButtonStyle" android:layout_alignParentBottom="true" android:layout_marginHorizontal="20dp" android:layout_marginVertical="@dimen/dp_10" android:text="退出登录" /> </RelativeLayout> </LinearLayout> </LinearLayout>