168 lines
6.6 KiB
XML
168 lines
6.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="@dimen/mystatusbar"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/left"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:paddingLeft="16dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingRight="5dp"
|
|
android:paddingBottom="5dp"
|
|
android:src="@mipmap/fanhui" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:text="xx"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:layout_weight="1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:background="@color/white">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_address"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginRight="16dp"
|
|
android:background="@drawable/_xpopup_round3_bg"
|
|
android:padding="8dp"
|
|
android:visibility="visible">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/dw" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_toRightOf="@id/iv"
|
|
android:text="张三"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_phone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_toRightOf="@id/tv_name"
|
|
android:text="151d2d1s32d13"
|
|
android:textColor="@color/gray"
|
|
android:textSize="12sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_address"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/tv_name"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_toRightOf="@id/iv"
|
|
android:text="jksdbasdbnasdjansdmasnd.,masnd.asm,dn" />
|
|
</RelativeLayout>
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/rv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<RelativeLayout
|
|
android:paddingRight="16dp"
|
|
android:background="@color/white"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/btn_submit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="40dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:background="@drawable/selector_common_btn"
|
|
android:text="提交订单"
|
|
android:textColor="@color/white"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_amount"
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_toLeftOf="@id/btn_submit"
|
|
android:text="252.00"
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@id/tv_amount"
|
|
android:text="合计:"
|
|
android:textColor="@color/black"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvTotalNum"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_toLeftOf="@id/tv_4"
|
|
android:text="共10件"
|
|
android:textColor="@color/text_body_text_color" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</layout> |