<?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">
<TextView
android:id="@+id/titleView"
android:layout_width="match_parent"
android:layout_height="@dimen/titleViewHeight"
android:background="@color/mainThemeColor"
android:gravity="center"
android:text="我的"
android:textColor="@color/white"
android:textSize="@dimen/sp_18" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/mainBackColor"
android:orientation="vertical"
android:padding="@dimen/dp_10">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_solid_layout_white_radius_10"
android:padding="@dimen/dp_10">
<ImageView
android:id="@+id/userImageView"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_centerVertical="true"
android:layout_marginEnd="@dimen/dp_10"
android:src="@mipmap/app_logo" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toEndOf="@id/userImageView"
android:orientation="vertical">
<TextView
android:id="@+id/userNameView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="张三"
android:textColor="@color/mainTextColor"
android:textSize="@dimen/sp_16" />
<TextView
android:id="@+id/userPhoneView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="13100000000"
android:textColor="@color/subTextColor"
android:textSize="@dimen/sp_12" />
<TextView
android:id="@+id/userDeptView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/group_name"
android:textColor="@color/subTextColor"
android:textSize="@dimen/sp_12" />
</LinearLayout>
<Button
android:id="@+id/updateUserButton"
style="@style/WhiteButtonStyle"
android:layout_width="@dimen/dp_50"
android:layout_height="@dimen/dp_25"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:text="同步"
android:textColor="@color/mainThemeColor"
android:textSize="@dimen/sp_12" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_20"
android:background="@drawable/bg_solid_layout_white_radius_10"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/changePwdLayout"
style="@style/RelativeItemLayoutStyle">
<!-- Test -->
<ImageView
android:id="@+id/changePwdImage"
android:layout_width="72px"
android:layout_height="72px"
android:layout_centerVertical="true"
android:layout_marginStart="@dimen/dp_10"
android:src="@mipmap/app_logo"
android:visibility="gone" />
<TextView
style="@style/RelativeTextViewStyle"
android:layout_toEndOf="@id/changePwdImage"
android:text="修改密码" />
<ImageView style="@style/RelativeRightImageStyle" />
</RelativeLayout>
<View style="@style/DividerViewStyle" />
<RelativeLayout
android:id="@+id/aboutUsLayout"
style="@style/RelativeItemLayoutStyle">
<TextView
style="@style/RelativeTextViewStyle"
android:text="关于我们" />
<ImageView style="@style/RelativeRightImageStyle" />
</RelativeLayout>
<View style="@style/DividerViewStyle" />
<RelativeLayout
android:id="@+id/updateVersionLayout"
style="@style/RelativeItemLayoutStyle">
<TextView
style="@style/RelativeTextViewStyle"
android:text="版本更新" />
<ImageView style="@style/RelativeRightImageStyle" />
</RelativeLayout>
<View style="@style/DividerViewStyle" />
<RelativeLayout
android:id="@+id/updateLogLayout"
style="@style/RelativeItemLayoutStyle">
<TextView
style="@style/RelativeTextViewStyle"
android:text="更新日志" />
<ImageView style="@style/RelativeRightImageStyle" />
</RelativeLayout>
<View style="@style/DividerViewStyle" />
<RelativeLayout
android:id="@+id/clearCacheLayout"
style="@style/RelativeItemLayoutStyle">
<TextView
style="@style/RelativeTextViewStyle"
android:text="清除缓存" />
<ImageView style="@style/RelativeRightImageStyle" />
</RelativeLayout>
<View style="@style/DividerViewStyle" />
<RelativeLayout style="@style/RelativeItemLayoutStyle">
<TextView
style="@style/RelativeTextViewStyle"
android:text="联系客服" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="@dimen/dp_10"
android:autoLink="phone"
android:text="010-68387447"
android:textColorLink="@color/mainThemeColor"
android:textSize="@dimen/sp_16" />
</RelativeLayout>
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<Button
android:id="@+id/loginOutButton"
style="@style/MainButtonStyle"
android:layout_alignParentBottom="true"
android:layout_marginVertical="@dimen/dp_30"
android:text="退出登录" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>