167 lines
5.6 KiB
XML
167 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="60dp"
|
|
tools:context=".fragment.BindPlateFragment">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="60dp"
|
|
android:text="柜体编号"
|
|
android:textColor="#ff7c6d6a"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_num"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:textColor="#fff0c8b4"
|
|
android:textSize="36sp"
|
|
android:textStyle="bold"
|
|
tools:text="1-12" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="22dp"
|
|
android:src="@drawable/ic_bind_img" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="48dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="餐盘码"
|
|
android:textColor="#fff0c8b4"
|
|
android:textSize="26sp" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="确认餐盘码是否有误"
|
|
android:textColor="#ff7c6d6a"
|
|
android:textSize="20sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:layout_marginTop="21dp"
|
|
android:background="@drawable/shape_pwd_bg"
|
|
android:gravity="center_vertical">
|
|
|
|
<EditText
|
|
android:id="@+id/et_code"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/transparent"
|
|
android:gravity="center"
|
|
android:maxLines="1"
|
|
android:hint="请录入餐盘码"
|
|
android:inputType="number"
|
|
android:textColor="#fff0c8b4"
|
|
android:textColorHint="#ff7c6d6a"
|
|
android:textSize="26sp"
|
|
android:textStyle="bold"
|
|
tools:text="" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="22dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="会员"
|
|
android:textColor="#fff0c8b4"
|
|
android:textSize="26sp" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="仅限VIP会员绑定,非VIP暂不支持"
|
|
android:textColor="#ff7c6d6a"
|
|
android:textSize="20sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:layout_marginTop="22dp"
|
|
android:background="@drawable/shape_pwd_bg"
|
|
android:gravity="center_vertical">
|
|
|
|
<EditText
|
|
android:id="@+id/et_user_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/transparent"
|
|
android:gravity="center"
|
|
android:hint="请输入会员姓名或手机号"
|
|
android:imeOptions="actionSearch"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:textColor="#F0C8B4"
|
|
android:textColorHint="#ff7c6d6a"
|
|
android:textSize="26sp" />
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="188dp"
|
|
android:layout_marginTop="24dp"
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
app:spanCount="2" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_bind"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:layout_marginTop="24dp"
|
|
android:background="@drawable/shape_btn_bg"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="绑定开门"
|
|
android:textColor="#ff11111c"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_back"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="46dp"
|
|
android:paddingHorizontal="20dp"
|
|
android:text="返回"
|
|
android:textColor="#ff887872"
|
|
android:textSize="26sp" />
|
|
</LinearLayout> |