|
|
|
@ -7,128 +7,82 @@
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/shoppingcart_title" />
|
|
|
|
|
<!--无商品时的布局-->
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="91dp"
|
|
|
|
|
android:layout_height="96dp"
|
|
|
|
|
android:layout_gravity="center|left"
|
|
|
|
|
android:src="@drawable/caomeidangao" />
|
|
|
|
|
|
|
|
|
|
android:layout_gravity="center|start"
|
|
|
|
|
android:src="@drawable/rousongxiaobei" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_width="397dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="草莓蛋糕"
|
|
|
|
|
android:textColor="#B5B5B5"
|
|
|
|
|
android:text="肉松小贝
|
|
|
|
|
数量:1 价格:25元"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/random_search"
|
|
|
|
|
android:layout_width="180dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:background="#119C84"
|
|
|
|
|
android:text="立即下单"
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="91dp"
|
|
|
|
|
android:layout_height="96dp"
|
|
|
|
|
android:layout_gravity="center|start"
|
|
|
|
|
android:src="@drawable/rousongxiaobei" />
|
|
|
|
|
android:layout_height="89dp"
|
|
|
|
|
android:layout_gravity="center|start"
|
|
|
|
|
android:src="@drawable/paofu" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_width="390dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="肉松小贝"
|
|
|
|
|
android:textColor="#B5B5B5"
|
|
|
|
|
android:text="酸奶泡芙
|
|
|
|
|
数量:2 价格:20元"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/random_search"
|
|
|
|
|
android:layout_width="180dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:background="#119C84"
|
|
|
|
|
android:text="立即下单"
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="91dp"
|
|
|
|
|
android:layout_height="89dp"
|
|
|
|
|
android:layout_gravity="center|start"
|
|
|
|
|
android:src="@drawable/paofu" />
|
|
|
|
|
android:src="@drawable/quqibing" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_width="390dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="酸奶泡芙"
|
|
|
|
|
android:textColor="#B5B5B5"
|
|
|
|
|
android:text="曲奇饼
|
|
|
|
|
数量:2 价格:40元"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/random_search"
|
|
|
|
|
android:layout_width="180dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:background="#119C84"
|
|
|
|
|
android:text="立即下单"
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="154dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="62dp"
|
|
|
|
|
android:layout_width="91dp"
|
|
|
|
|
android:layout_height="89dp"
|
|
|
|
|
android:layout_gravity="center|start"
|
|
|
|
|
android:src="@drawable/qiepianmianbao" />
|
|
|
|
|
android:src="@drawable/shousibao" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_width="390dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="切片面包"
|
|
|
|
|
android:textColor="#B5B5B5"
|
|
|
|
|
android:text="手撕面包
|
|
|
|
|
数量:1 价格:12元"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textview5"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text=" 合计:97元"
|
|
|
|
|
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/random_search"
|
|
|
|
|
android:layout_width="180dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
|
android:background="#119C84"
|
|
|
|
|
android:text="立即结算"
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/random_search"
|
|
|
|
|
android:layout_width="180dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:background="#119C84"
|
|
|
|
|
android:text="立即下单"
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|