<?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" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".grxx.GrxxActivity"> <RelativeLayout android:layout_width="match_parent" android:layout_height="@dimen/dp_48"> <LinearLayout android:layout_width="@dimen/dp_50" android:id="@+id/fh" android:layout_height="@dimen/dp_50"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dp_15" android:layout_marginLeft="@dimen/dp_15" android:src="@mipmap/path" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="@dimen/dp_48" android:orientation="horizontal" android:gravity="center" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" android:layout_gravity="center" android:text="个人信息" android:textColor="#3b3b3b" android:textSize="@dimen/sp_18" /> </LinearLayout> </RelativeLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="@dimen/dp_50" android:orientation="horizontal" android:id="@+id/xm" android:gravity="center" > <TextView android:id="@+id/t1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="姓名" android:textColor="#3b3b3b" android:textSize="@dimen/sp_14" android:layout_marginTop="@dimen/dp_15" android:layout_marginLeft="@dimen/dp_15" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="哈哈哈" android:textSize="@dimen/sp_14" android:textColor="#777777" android:layout_alignBottom="@id/t1" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_30" android:layout_alignParentRight="true" /> <ImageView android:layout_width="@dimen/dp_7" android:layout_height="@dimen/dp_12" android:src="@mipmap/next_icon" android:layout_alignBottom="@id/t1" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_15" android:layout_alignParentRight="true" android:layout_marginBottom="@dimen/dp_3" /> <View android:layout_width="@dimen/dp_345" android:layout_height="1dp" android:background="#ededed" android:layout_marginLeft="@dimen/dp_15" android:layout_alignParentBottom="true" android:layout_marginRight="@dimen/dp_15" /> </RelativeLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="@dimen/dp_50" android:orientation="horizontal" android:id="@+id/sjh" android:gravity="center" > <TextView android:id="@+id/t2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="手机号" android:textColor="#3b3b3b" android:textSize="@dimen/sp_14" android:layout_marginTop="@dimen/dp_15" android:layout_marginLeft="@dimen/dp_15" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="10000000000" android:textSize="@dimen/sp_14" android:textColor="#777777" android:layout_alignBottom="@id/t2" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_30" android:layout_alignParentRight="true" /> <ImageView android:layout_width="@dimen/dp_7" android:layout_height="@dimen/dp_12" android:src="@mipmap/next_icon" android:layout_alignBottom="@id/t2" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_15" android:layout_alignParentRight="true" android:layout_marginBottom="@dimen/dp_3" /> <View android:layout_width="@dimen/dp_345" android:layout_height="1dp" android:background="#ededed" android:layout_marginLeft="@dimen/dp_15" android:layout_alignParentBottom="true" android:layout_marginRight="@dimen/dp_15" /> </RelativeLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="@dimen/dp_50" android:orientation="horizontal" android:id="@+id/gh" android:gravity="center" > <TextView android:id="@+id/t3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="工号" android:textColor="#3b3b3b" android:textSize="@dimen/sp_14" android:layout_marginTop="@dimen/dp_15" android:layout_marginLeft="@dimen/dp_15" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="012032102" android:textSize="@dimen/sp_14" android:textColor="#777777" android:layout_alignBottom="@id/t3" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_30" android:layout_alignParentRight="true" /> <ImageView android:layout_width="@dimen/dp_7" android:layout_height="@dimen/dp_12" android:src="@mipmap/next_icon" android:layout_alignBottom="@id/t3" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_15" android:layout_alignParentRight="true" android:layout_marginBottom="@dimen/dp_3" /> <View android:layout_width="@dimen/dp_345" android:layout_height="1dp" android:background="#ededed" android:layout_marginLeft="@dimen/dp_15" android:layout_alignParentBottom="true" android:layout_marginRight="@dimen/dp_15" /> </RelativeLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="@dimen/dp_50" android:orientation="horizontal" android:id="@+id/cph" android:gravity="center" > <TextView android:id="@+id/t4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="车牌号" android:textColor="#3b3b3b" android:textSize="@dimen/sp_14" android:layout_marginTop="@dimen/dp_15" android:layout_marginLeft="@dimen/dp_15" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="京Q888888" android:textSize="@dimen/sp_14" android:textColor="#777777" android:layout_alignBottom="@id/t4" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_30" android:layout_alignParentRight="true" /> <ImageView android:layout_width="@dimen/dp_7" android:layout_height="@dimen/dp_12" android:src="@mipmap/next_icon" android:layout_alignBottom="@id/t4" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_15" android:layout_alignParentRight="true" android:layout_marginBottom="@dimen/dp_3" /> <View android:layout_width="@dimen/dp_345" android:layout_height="1dp" android:background="#ededed" android:layout_marginLeft="@dimen/dp_15" android:layout_alignParentBottom="true" android:layout_marginRight="@dimen/dp_15" /> </RelativeLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="@dimen/dp_50" android:orientation="horizontal" android:id="@+id/cx" android:gravity="center" > <TextView android:id="@+id/t5" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="车型" android:textColor="#3b3b3b" android:textSize="@dimen/sp_14" android:layout_marginTop="@dimen/dp_15" android:layout_marginLeft="@dimen/dp_15" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="哈哈哈" android:textSize="@dimen/sp_14" android:textColor="#777777" android:layout_alignBottom="@id/t5" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_30" android:layout_alignParentRight="true" /> <ImageView android:layout_width="@dimen/dp_7" android:layout_height="@dimen/dp_12" android:src="@mipmap/next_icon" android:layout_alignBottom="@id/t5" android:layout_marginTop="@dimen/dp_15" android:layout_marginRight="@dimen/dp_15" android:layout_alignParentRight="true" android:layout_marginBottom="@dimen/dp_3" /> <View android:layout_width="@dimen/dp_345" android:layout_height="1dp" android:background="#ededed" android:layout_marginLeft="@dimen/dp_15" android:layout_alignParentBottom="true" android:layout_marginRight="@dimen/dp_15" /> </RelativeLayout> <TextView android:id="@+id/tc" android:layout_width="@dimen/dp_345" android:layout_height="@dimen/dp_42" android:textSize="@dimen/dp_16" android:gravity="center" android:layout_gravity="center" android:background="@drawable/dl1" android:textColor="#fff" android:layout_marginTop="@dimen/dp_32" android:text="退出登陆" /> </LinearLayout>
个人信息布局
最新推荐文章于 2021-12-22 23:09:58 发布