2024.11.29

<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">

<FrameLayout
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
android:background="#9B7CD3"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
app:menu="@menu/bottom_navigation_menu"/>

</androidx.coordinatorlayout.widget.CoordinatorLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MaterialActivity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical">

<TextView
android:id="@+id/employeeIdTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="员工ID: " />

<ImageView
android:id="@+id/scanQRCodeImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="200dp"
android:src="@drawable/ic_scan"
android:contentDescription="扫描二维码"
android:clickable="true"
android:focusable="true"
android:layout_gravity="end" />
</LinearLayout>

<EditText
android:id="@+id/nameEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="物料名称" />

<EditText
android:id="@+id/typeEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="物料类型" />

<EditText
android:id="@+id/unitPriceEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="单价" />

<EditText
android:id="@+id/totalQuantityEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="总数" />

<EditText
android:id="@+id/receivedQuantityEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="领取数量" />

<Button
android:id="@+id/submitButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="提交" />
</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>
posted @   我也不想的  阅读(2)  评论(0编辑  收藏  举报
(评论功能已被禁用)
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
点击右上角即可分享
微信分享提示