- 将应用名称从 SmartPlateCabinet 更改为 SmartTakePlate - 更新初始化页面背景图片为 bg_collect_page3 - 替换 View 组件为 Space 组件以优化布局权重分配 - 调整取盘按钮尺寸和文字大小提升用户体验 - 简化人脸识别登录页面布局结构 - 更新应用图标资源为 logo_launcher - 移除未使用的权限声明和活动注册 - 优化人脸识别相关 API 接口调用 - 调整时间显示逻辑仅保留时间部分 - 移除扫描枪事件监听相关功能代码 - 重构人脸识别数据更新逻辑 - 移除余额不足对话框相关代码
67 lines
2.4 KiB
XML
67 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:paddingBottom="80dp"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="380dp"
|
|
android:layout_height="380dp"
|
|
android:layout_marginTop="119dp"
|
|
android:padding="10dp"
|
|
android:visibility="visible">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="0dp"
|
|
android:background="@drawable/circle_dashed_border" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_type"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_tip_success" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="30dp"
|
|
android:text="柜门开启"
|
|
android:textColor="#ff02f1be"
|
|
android:textSize="36sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_sub_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="23dp"
|
|
android:text="餐盘取出后请关闭柜门"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:maxLines="1"
|
|
android:ellipsize="end"
|
|
android:textColor="#FFCC99"
|
|
android:textSize="24sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_auto_close"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="34dp"
|
|
android:text="3"
|
|
android:textColor="#FFCC99"
|
|
android:textSize="36sp" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
|
|
</LinearLayout> |