From fbfa859ff0fe312cbb49a3345b6e3d67d574a946 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期四, 28 十一月 2024 16:33:37 +0800 Subject: [PATCH] 1.工单列表界面 2.工单详情界面 3.处理工单界面选择图片相关 --- app/src/main/res/layout/fragment_my.xml | 110 +++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 74 insertions(+), 36 deletions(-) diff --git a/app/src/main/res/layout/fragment_my.xml b/app/src/main/res/layout/fragment_my.xml index ab21108..731f974 100644 --- a/app/src/main/res/layout/fragment_my.xml +++ b/app/src/main/res/layout/fragment_my.xml @@ -6,19 +6,22 @@ android:layout_height="match_parent" android:background="@color/bg_color"> - <com.dayu.pipirrapp.view.TitleBar + + + <TextView android:id="@+id/title" android:layout_width="match_parent" - android:layout_height="45dp" - android:layout_alignParentTop="true" - - app:centerText="涓汉涓績" /> - + android:background="@color/title_color" + android:textSize="@dimen/title_center_text_size" + android:gravity="center" + android:text="鎴戠殑" + android:textColor="@color/white" + android:layout_height="@dimen/title_height"/> <View android:layout_width="match_parent" - android:layout_height="200dp" + android:layout_height="150dp" android:layout_below="@+id/title" android:background="@color/title_color" /> @@ -26,7 +29,7 @@ <RelativeLayout android:id="@+id/headRL_top" android:layout_width="match_parent" - android:layout_height="190dp" + android:layout_height="150dp" android:layout_below="@+id/title" android:layout_marginLeft="25dp" android:layout_marginTop="25dp" @@ -102,40 +105,16 @@ android:src="@drawable/ic_right" /> </RelativeLayout> + <RelativeLayout - android:id="@+id/versionRL" + android:id="@+id/passwordRL" android:layout_width="match_parent" android:layout_height="@dimen/item_height" android:layout_below="@+id/headRL" android:layout_marginTop="1dp"> <TextView - android:layout_width="match_parent" - android:layout_height="@dimen/item_height" - android:background="@color/white" - 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/passwordRL" - android:layout_width="match_parent" - android:layout_height="@dimen/item_height" - android:layout_below="@+id/versionRL" - android:layout_marginTop="1dp"> - - <TextView + android:id="@+id/changePS" android:layout_width="match_parent" android:layout_height="@dimen/item_height" @@ -156,10 +135,36 @@ </RelativeLayout> <RelativeLayout - android:id="@+id/loginOutRL" + android:id="@+id/cleanDataRL" android:layout_width="match_parent" android:layout_height="@dimen/item_height" android:layout_below="@+id/passwordRL" + android:layout_marginTop="1dp"> + + <TextView + android:id="@+id/cleanData" + android:layout_width="match_parent" + android:layout_height="@dimen/item_height" + android:background="@color/white" + 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:layout_below="@+id/cleanDataRL" android:layout_marginTop="1dp"> <TextView @@ -174,6 +179,7 @@ android:textSize="@dimen/my_item_text_size" /> <ImageView + android:id="@+id/loginOutBtn" android:layout_width="25dp" android:layout_height="25dp" android:layout_alignParentRight="true" @@ -181,5 +187,37 @@ 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:layout_below="@+id/loginOutRL" + android:layout_marginTop="1dp"> + + <TextView + android:layout_width="match_parent" + android:layout_height="@dimen/item_height" + android:background="@color/white" + 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> \ No newline at end of file -- Gitblit v1.8.0