230 lines
10 KiB
XML
230 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout 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">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#F7F7F7"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<my_view.tao_bao_refresh.ScrollViewExtend
|
|
android:id="@+id/scroll_view_extend"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#F7F7F7">
|
|
<LinearLayout
|
|
android:layout_width="0px"
|
|
android:layout_height="0px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true">
|
|
|
|
<requestFocus />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/l2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="15dip"
|
|
android:paddingRight="15dip"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:layout_marginBottom="10dip"
|
|
android:layout_marginTop="10dip">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:textColor="#4B4B4B"
|
|
android:textSize="16sp"
|
|
android:text="@string/userphoto" />
|
|
|
|
<tools.RoundedCornerImageView
|
|
android:id="@+id/myphoto"
|
|
android:layout_width="60dip"
|
|
android:layout_height="60dip"
|
|
android:layout_alignParentRight="true"
|
|
android:src="@mipmap/head" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dip"
|
|
android:background="@color/LightGray" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/nickNameView"
|
|
android:layout_width="match_parent"
|
|
android:background="@color/white"
|
|
android:layout_height="50dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:textColor="#4B4B4B"
|
|
android:textSize="16sp"
|
|
android:text="@string/usernick" />
|
|
|
|
<EditText
|
|
android:id="@+id/mynickname"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerVertical="true"
|
|
android:background="@null"
|
|
android:textSize="16sp"
|
|
android:maxLength="16"
|
|
android:singleLine="true"
|
|
android:textColor="#4B4B4B"
|
|
android:gravity="right|center_vertical"
|
|
tools:ignore="RtlHardcoded" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dip"
|
|
android:background="@color/LightGray" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:background="@color/white"
|
|
android:layout_height="50dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:textColor="#4B4B4B"
|
|
android:textSize="16sp"
|
|
android:text="@string/usermale" />
|
|
|
|
<TextView
|
|
android:id="@+id/mymale"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_toLeftOf="@+id/arrow"
|
|
android:layout_centerVertical="true"
|
|
android:textColor="#4B4B4B"
|
|
android:gravity="right|center_vertical"
|
|
tools:ignore="RtlHardcoded"
|
|
android:src="@mipmap/head"
|
|
android:textSize="16sp"
|
|
android:text="女" />
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/arrow"
|
|
android:layout_width="8dp"
|
|
android:layout_height="14dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:src="@mipmap/returnme" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dip"
|
|
android:background="@color/LightGray" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:background="@color/white"
|
|
android:layout_height="50dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:textColor="#4B4B4B"
|
|
android:textSize="16sp"
|
|
android:text="@string/userbirthday" />
|
|
|
|
<TextView
|
|
android:id="@+id/mybirthday"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@+id/arrow1"
|
|
android:layout_centerVertical="true"
|
|
android:background="@null"
|
|
android:gravity="right"
|
|
android:textColor="#4B4B4B"
|
|
android:src="@mipmap/head"
|
|
android:text="1990-10-19"
|
|
android:textSize="16sp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/arrow1"
|
|
android:layout_width="8dp"
|
|
android:layout_height="14dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:src="@mipmap/returnme" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dip"
|
|
android:background="@color/LightGray" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:background="@color/white"
|
|
android:layout_marginBottom="15dp">
|
|
|
|
<TextView
|
|
android:id="@+id/addressTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="16sp"
|
|
android:textColor="#4B4B4B"
|
|
android:text="地址" />
|
|
|
|
<TextView
|
|
android:id="@+id/myaddress"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@+id/addressTitle"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:textSize="16sp"
|
|
android:textColor="#4B4B4B"
|
|
android:gravity="right"
|
|
android:layout_alignParentRight="true"
|
|
android:text="陕西西安市新华单元1栋" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dip"
|
|
android:background="@color/LightGray" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</my_view.tao_bao_refresh.ScrollViewExtend>
|
|
</LinearLayout>
|
|
</layout> |