You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
234 lines
7.5 KiB
234 lines
7.5 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#E8E8E8"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/user_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:src="@drawable/user_icon" />
|
|
|
|
<!--卡券-->
|
|
<LinearLayout
|
|
android:id="@+id/user_pay"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFF"
|
|
android:layout_marginTop="40dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_height="35dp"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/user_pay"
|
|
android:textColor="#000"
|
|
android:text="卡券"
|
|
android:gravity="center_vertical"
|
|
android:drawablePadding="8dp"
|
|
android:textSize="14sp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_width="0dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/arrow_right" />
|
|
</LinearLayout>
|
|
|
|
<!--账号-->
|
|
<LinearLayout
|
|
android:id="@+id/user_username_line"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFF"
|
|
android:layout_marginTop="30dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/user_username"
|
|
android:layout_height="35dp"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/user_account"
|
|
android:textColor="#000"
|
|
android:text="账号:"
|
|
android:gravity="center_vertical"
|
|
android:drawablePadding="8dp"
|
|
android:textSize="14sp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_width="0dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!--性别-->
|
|
<LinearLayout
|
|
android:id="@+id/user_sex_line"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFF"
|
|
android:layout_marginTop="1dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/user_sex"
|
|
android:layout_height="35dp"
|
|
android:layout_weight="1"
|
|
android:layout_marginLeft="5dp"
|
|
android:drawableLeft="@drawable/user_sex"
|
|
android:textColor="#000"
|
|
android:text="城市:"
|
|
android:gravity="center_vertical"
|
|
android:drawablePadding="8dp"
|
|
android:textSize="14sp"
|
|
android:layout_width="0dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!--城市-->
|
|
<LinearLayout
|
|
android:id="@+id/user_city_line"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFF"
|
|
android:layout_marginTop="1dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/user_city"
|
|
android:layout_height="35dp"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/city"
|
|
android:textColor="#000"
|
|
android:text="城市:"
|
|
android:gravity="center_vertical"
|
|
android:drawablePadding="8dp"
|
|
android:textSize="14sp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_width="0dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!--通用-->
|
|
<LinearLayout
|
|
android:id="@+id/user_general"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFF"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_height="35dp"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/user_general"
|
|
android:textColor="#000"
|
|
android:text="通用"
|
|
android:gravity="center_vertical"
|
|
android:drawablePadding="8dp"
|
|
android:textSize="14sp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_width="0dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!--查看商品-->
|
|
<LinearLayout
|
|
android:id="@+id/user_searchProduct"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFF"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_height="35dp"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/search"
|
|
android:textColor="#000"
|
|
android:text="查看商品"
|
|
android:gravity="center_vertical"
|
|
android:drawablePadding="8dp"
|
|
android:textSize="14sp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_width="0dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!--设置-->
|
|
<LinearLayout
|
|
android:id="@+id/user_setting"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFF"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_height="35dp"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/setting"
|
|
android:textColor="#000"
|
|
android:text="设置"
|
|
android:gravity="center_vertical"
|
|
android:drawablePadding="8dp"
|
|
android:textSize="14sp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_width="0dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:textSize="18sp"
|
|
android:layout_marginTop="150dp"
|
|
android:text="退出登录"
|
|
android:textColor="#FFFFFF"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/button_login"/>
|
|
|
|
|
|
</LinearLayout> |