<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/bg_color">
|
|
|
<TextView
|
android:id="@+id/title"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/title_height"
|
android:background="@color/title_color"
|
android:gravity="center"
|
android:text="我的"
|
android:textColor="@color/white"
|
android:textSize="@dimen/title_center_text_size" />
|
|
<View
|
|
android:layout_width="match_parent"
|
android:layout_height="150dp"
|
android:layout_below="@+id/title"
|
android:background="@color/title_color" />
|
|
|
<RelativeLayout
|
android:id="@+id/headRL_top"
|
android:layout_width="match_parent"
|
android:layout_height="150dp"
|
android:layout_below="@+id/title"
|
android:layout_marginLeft="25dp"
|
android:layout_marginTop="25dp"
|
android:layout_marginRight="25dp"
|
android:layout_marginBottom="15dp"
|
android:background="@drawable/bg_fillet_wite"
|
|
>
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
android:id="@+id/head_img"
|
android:layout_width="80dp"
|
android:layout_height="80dp"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="15dp"
|
android:src="@mipmap/ic_head_bg"
|
app:civ_border_color="#FFFFFF"
|
app:civ_border_width="2dp"
|
tools:ignore="MissingClass" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="20dp"
|
android:layout_marginRight="20dp"
|
android:layout_toEndOf="@+id/head_img"
|
android:gravity="center"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/name"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="姓名"
|
android:textColor="@color/black" />
|
|
<TextView
|
android:id="@+id/phone"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:text=""
|
android:textColor="@color/grey" />
|
</LinearLayout>
|
|
|
</RelativeLayout>
|
|
|
<RelativeLayout
|
android:id="@+id/issueListRL"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:background="@drawable/my_item_ripple"
|
android:layout_below="@+id/headRL_top">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
|
android:gravity="center_vertical"
|
android:paddingLeft="30dp"
|
android:text="问题列表"
|
android:textColor="@color/black"
|
android:textSize="@dimen/my_item_text_size" />
|
|
<ImageView
|
android:layout_width="25dp"
|
android:layout_height="25dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="15dp"
|
android:src="@drawable/ic_right" />
|
</RelativeLayout>
|
<RelativeLayout
|
android:id="@+id/inspectListRL"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:layout_marginTop="1dp"
|
android:background="@drawable/my_item_ripple"
|
android:layout_below="@+id/issueListRL">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:gravity="center_vertical"
|
android:paddingLeft="30dp"
|
android:text="巡检记录"
|
android:layout_marginTop="1dp"
|
android:textColor="@color/black"
|
android:textSize="@dimen/my_item_text_size" />
|
|
<ImageView
|
android:layout_width="25dp"
|
android:layout_height="25dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="15dp"
|
android:src="@drawable/ic_right" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/changePSRL"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:background="@drawable/my_item_ripple"
|
android:layout_below="@+id/inspectListRL"
|
android:layout_marginTop="1dp">
|
|
<TextView
|
android:id="@+id/changePS"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:gravity="center_vertical"
|
android:paddingLeft="30dp"
|
android:text="修改密码"
|
android:textColor="@color/black"
|
android:textSize="@dimen/my_item_text_size" />
|
|
<ImageView
|
android:layout_width="25dp"
|
android:layout_height="25dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="15dp"
|
android:src="@drawable/ic_right" />
|
</RelativeLayout>
|
<RelativeLayout
|
android:id="@+id/refreshDataRL"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:background="@drawable/my_item_ripple"
|
android:layout_below="@+id/changePSRL"
|
android:layout_marginTop="1dp">
|
|
<TextView
|
android:id="@+id/refreshDataTV"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:gravity="center_vertical"
|
android:paddingLeft="30dp"
|
android:text="更新本地数据"
|
android:textColor="@color/black"
|
android:textSize="@dimen/my_item_text_size" />
|
|
<ImageView
|
android:layout_width="25dp"
|
android:layout_height="25dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="15dp"
|
android:src="@drawable/ic_right" />
|
</RelativeLayout>
|
<RelativeLayout
|
android:id="@+id/cleanDataRL"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:background="@drawable/my_item_ripple"
|
android:layout_below="@+id/refreshDataRL"
|
android:layout_marginTop="1dp">
|
|
<TextView
|
android:id="@+id/cleanData"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:gravity="center_vertical"
|
android:paddingLeft="30dp"
|
android:text="清除缓存"
|
android:textColor="@color/black"
|
android:textSize="@dimen/my_item_text_size" />
|
|
<ImageView
|
android:layout_width="25dp"
|
android:layout_height="25dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="15dp"
|
android:src="@drawable/ic_right" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/loginOutRL"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:background="@drawable/my_item_ripple"
|
android:layout_below="@+id/cleanDataRL"
|
android:layout_marginTop="1dp">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
|
android:gravity="center_vertical"
|
android:paddingLeft="30dp"
|
android:text="退出登录"
|
android:textColor="@color/black"
|
android:textSize="@dimen/my_item_text_size" />
|
|
<ImageView
|
android:id="@+id/loginOutBtn"
|
android:layout_width="25dp"
|
android:layout_height="25dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="15dp"
|
android:src="@drawable/ic_right" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/versionRL"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:background="@drawable/my_item_ripple"
|
android:layout_below="@+id/loginOutRL"
|
android:layout_marginTop="1dp">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/item_height"
|
android:gravity="center_vertical"
|
android:paddingLeft="30dp"
|
android:text="当前版本"
|
android:textColor="@color/black"
|
android:textSize="@dimen/my_item_text_size" />
|
|
|
<TextView
|
android:id="@+id/versionText"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="25dp"
|
android:text="v1.0"
|
android:textColor="@color/text_color"
|
android:textSize="15sp" />
|
</RelativeLayout>
|
|
|
</RelativeLayout>
|