From 4b6cb6d2a0e48640cfd86ef00eb0ff5f4cddf5a2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 23 一月 2024 17:33:28 +0800 Subject: [PATCH] 地图界面与JS交互相关 我的界面 修改密码界面 --- app/src/main/res/layout/fragment_my.xml | 185 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 182 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/fragment_my.xml b/app/src/main/res/layout/fragment_my.xml index 77d9ef6..ab21108 100644 --- a/app/src/main/res/layout/fragment_my.xml +++ b/app/src/main/res/layout/fragment_my.xml @@ -1,6 +1,185 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" +<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:layout_height="match_parent" + android:background="@color/bg_color"> -</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file + <com.dayu.pipirrapp.view.TitleBar + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="45dp" + android:layout_alignParentTop="true" + + app:centerText="涓汉涓績" /> + + + <View + + android:layout_width="match_parent" + android:layout_height="200dp" + android:layout_below="@+id/title" + android:background="@color/title_color" /> + + + <RelativeLayout + android:id="@+id/headRL_top" + android:layout_width="match_parent" + android:layout_height="190dp" + 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="18311594524" + android:textColor="@color/grey" /> + </LinearLayout> + + + </RelativeLayout> + + + <RelativeLayout + android:id="@+id/headRL" + android:layout_width="match_parent" + android:layout_height="@dimen/item_height" + android:layout_below="@+id/headRL_top"> + + <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/versionRL" + 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: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/passwordRL" + 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> \ No newline at end of file -- Gitblit v1.8.0