联合支付功能调试
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
tools:ignore="HardcodedText,UseCompatTextViewDrawableXml">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -19,7 +20,7 @@
|
||||
android:textSize="30sp"
|
||||
android:textStyle="bold"
|
||||
android:drawablePadding="17dp"
|
||||
app:drawableStartCompat="@drawable/ic_take_food" />
|
||||
android:drawableStart="@drawable/ic_take_food" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvUserName"
|
||||
@@ -49,6 +50,7 @@
|
||||
android:background="#FFDDE5F0" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/tvFoodList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
@@ -69,7 +71,7 @@
|
||||
android:textSize="26sp"
|
||||
tools:text="总重量:680克"
|
||||
android:drawablePadding="17dp"
|
||||
app:drawableStartCompat="@drawable/ic_flag_weight" />
|
||||
android:drawableStart="@drawable/ic_flag_weight" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
@@ -84,7 +86,7 @@
|
||||
android:textSize="26sp"
|
||||
tools:text="总热量:793千卡"
|
||||
android:drawablePadding="17dp"
|
||||
app:drawableStartCompat="@drawable/ic_flag_calorie" />
|
||||
android:drawableStart="@drawable/ic_flag_calorie" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,60 @@
|
||||
<?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="50dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<!-- 菜品名称列,权重2.5 -->
|
||||
<TextView
|
||||
android:id="@+id/tvFoodName"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2.5"
|
||||
android:text="菜品名称"
|
||||
android:textColor="#FF889AC2"
|
||||
android:textSize="26sp"
|
||||
android:paddingHorizontal="5dp"
|
||||
android:singleLine="true"
|
||||
android:gravity="center_vertical|start" />
|
||||
|
||||
<!-- 规格列,权重1.0 -->
|
||||
<TextView
|
||||
android:id="@+id/tvPriceNorm"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="规格"
|
||||
android:textColor="#FF889AC2"
|
||||
android:textSize="26sp"
|
||||
android:paddingHorizontal="5dp"
|
||||
android:singleLine="true"
|
||||
android:gravity="center" />
|
||||
|
||||
<!-- 重量列,权重1.0 -->
|
||||
<TextView
|
||||
android:id="@+id/tvWeight"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="重量(克)"
|
||||
android:textColor="#FF889AC2"
|
||||
android:textSize="26sp"
|
||||
android:paddingHorizontal="5dp"
|
||||
android:singleLine="true"
|
||||
android:gravity="center" />
|
||||
|
||||
<!-- 小计列,权重1.0 -->
|
||||
<TextView
|
||||
android:id="@+id/tvAmount"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="小计(元)"
|
||||
android:textColor="#FF889AC2"
|
||||
android:textSize="26sp"
|
||||
android:paddingHorizontal="5dp"
|
||||
android:singleLine="true"
|
||||
android:gravity="center" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -13,13 +13,13 @@
|
||||
android:padding="28dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llSignlePage"
|
||||
android:id="@+id/llTopInfo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/setting_border"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="26dp"
|
||||
android:visibility="gone">
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvFoodName"
|
||||
@@ -32,10 +32,10 @@
|
||||
android:textSize="40sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<!-- android:layout_width="300dp"-->
|
||||
<!-- android:layout_height="450dp"-->
|
||||
<!-- android:layout_width="330dp"-->
|
||||
<!-- android:layout_height="495dp"-->
|
||||
<!--android:layout_width="300dp"-->
|
||||
<!--android:layout_height="450dp"-->
|
||||
<!--android:layout_width="330dp"-->
|
||||
<!--android:layout_height="495dp"-->
|
||||
<FrameLayout
|
||||
android:id="@+id/flCameraView"
|
||||
android:layout_width="match_parent"
|
||||
@@ -189,14 +189,19 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<include
|
||||
android:id="@+id/detailInclude"
|
||||
<FrameLayout
|
||||
android:id="@+id/flFoodDetail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/setting_border"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="26dp"
|
||||
layout="@layout/layout_eat_detail"/>
|
||||
android:paddingHorizontal="15dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<include
|
||||
android:id="@+id/detailInclude"
|
||||
layout="@layout/layout_eat_detail"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flBottomView"
|
||||
|
||||
Reference in New Issue
Block a user