<?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/mainBackground" 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/themeColor" 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_16" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/dp_10" 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/black" /> </RelativeLayout> <View android:layout_width="match_parent" android:layout_height="@dimen/dividerLine" android:layout_marginHorizontal="@dimen/dp_15" android:background="@color/mainBackground" /> <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/black" /> </RelativeLayout> <View android:layout_width="match_parent" android:layout_height="@dimen/dividerLine" android:layout_marginHorizontal="@dimen/dp_15" android:background="@color/mainBackground" /> <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/black" /> </RelativeLayout> <View android:layout_width="match_parent" android:layout_height="@dimen/dividerLine" android:layout_marginHorizontal="@dimen/dp_15" android:background="@color/mainBackground" /> <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/black" /> </RelativeLayout> <View android:layout_width="match_parent" android:layout_height="@dimen/dividerLine" android:layout_marginHorizontal="@dimen/dp_15" android:background="@color/mainBackground" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="IP地址" /> <TextView android:id="@+id/ipAddressView" style="@style/textViewStyle" android:layout_alignParentEnd="true" android:textColor="@color/black" /> </RelativeLayout> </LinearLayout> </LinearLayout>