|
@@ -21,14 +21,14 @@
|
|
|
android:layout_marginLeft="20dp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/deptName"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:layout_toRightOf="@+id/image"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="实验室名称-房间号"
|
|
|
android:textColor="@color/white"
|
|
|
android:textSize="22sp" />
|
|
@@ -41,26 +41,26 @@
|
|
|
android:layout_marginTop="2dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/tvTitle"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerHorizontal="true"
|
|
|
android:layout_centerVertical="true"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="化学品智能管理"
|
|
|
android:textColor="@color/white"
|
|
|
android:textSize="24sp"
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/nowTime"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="6dp"
|
|
|
android:layout_toRightOf="@+id/tvTitle"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/white" />
|
|
|
|
|
|
</LinearLayout>
|
|
@@ -83,8 +83,6 @@
|
|
|
android:layout_marginRight="6dp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/tvName"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -92,6 +90,8 @@
|
|
|
android:layout_marginLeft="6dp"
|
|
|
android:layout_marginRight="6dp"
|
|
|
android:layout_toRightOf="@+id/imageName"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="李XX"
|
|
|
android:textColor="@color/white" />
|
|
|
|
|
@@ -106,14 +106,14 @@
|
|
|
android:background="@mipmap/cshrk_dl_tc" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/tvOutLogin"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginRight="10dp"
|
|
|
android:layout_toRightOf="@+id/imgOut"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="退出"
|
|
|
android:textColor="@color/white"
|
|
|
android:textSize="16sp" />
|
|
@@ -137,11 +137,119 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="0.32">
|
|
|
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/kz"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginBottom="19dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/rvPage"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/one"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:background="@drawable/bg_sou_suo_page"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="1"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/two"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/bg_sou_suo_two_page"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="2"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/three"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/bg_sou_suo_two"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="3"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/drop"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/bg_sou_suo_two"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="..."
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/many"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/bg_sou_suo_two"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="4"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/butUpper"
|
|
|
+ android:layout_width="65dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_toLeftOf="@+id/rvPage"
|
|
|
+ android:background="@drawable/bg_up_page"
|
|
|
+ android:text="上一页"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/butNext"
|
|
|
+ android:layout_width="65dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_toRightOf="@+id/rvPage"
|
|
|
+ android:background="@drawable/bg_sou_suo_page"
|
|
|
+ android:text="下一页"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="10sp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@id/kz"
|
|
|
android:layout_marginTop="22dp"
|
|
|
android:layout_marginRight="16dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
android:layout_weight="0.32"
|
|
|
android:orientation="vertical">
|
|
|
|
|
@@ -150,11 +258,11 @@
|
|
|
android:layout_height="40dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="查询化学品"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="15sp" />
|
|
@@ -173,13 +281,13 @@
|
|
|
android:layout_marginRight="6dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/cabinetName"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="30dp"
|
|
|
android:background="@drawable/bg_shu_ru_kuang"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:paddingRight="12dp"
|
|
|
android:text="化学品柜"
|
|
|
android:textColor="@color/black" />
|
|
@@ -207,28 +315,28 @@
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/reQuy"
|
|
|
android:layout_width="45dp"
|
|
|
android:layout_height="30dp"
|
|
|
android:layout_marginLeft="6dp"
|
|
|
android:layout_marginRight="6dp"
|
|
|
android:background="@drawable/bgm_cha_xun"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="查询"
|
|
|
android:textColor="@color/white"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/resetting"
|
|
|
android:layout_width="45dp"
|
|
|
android:layout_height="30dp"
|
|
|
android:background="@drawable/bgm_cha_cun_two"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="重置"
|
|
|
android:textColor="@color/purple_FF666666"
|
|
|
android:textSize="12sp" />
|
|
@@ -243,56 +351,56 @@
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="名称"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="编码"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="库存量"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="归属人"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="过期时间"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="13sp" />
|
|
@@ -301,112 +409,9 @@
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/rvView"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="230dp" />
|
|
|
+ android:layout_height="match_parent" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="30dp"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginBottom="19dp">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/rvPage"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
- android:id="@+id/one"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:background="@drawable/bg_sou_suo_page"
|
|
|
- android:gravity="center"
|
|
|
- android:text="1"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
- android:id="@+id/two"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:background="@drawable/bg_sou_suo_two_page"
|
|
|
- android:gravity="center"
|
|
|
- android:text="2"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
- android:id="@+id/three"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:background="@drawable/bg_sou_suo_two"
|
|
|
- android:gravity="center"
|
|
|
- android:text="3"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
- android:id="@+id/drop"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:background="@drawable/bg_sou_suo_two"
|
|
|
- android:gravity="center"
|
|
|
- android:text="..."
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="10sp"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
- android:id="@+id/many"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:background="@drawable/bg_sou_suo_two"
|
|
|
- android:gravity="center"
|
|
|
- android:text="4"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="10sp"
|
|
|
- android:visibility="gone" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/butUpper"
|
|
|
- android:layout_width="65dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_toLeftOf="@+id/rvPage"
|
|
|
- android:background="@drawable/bg_up_page"
|
|
|
- android:text="上一页"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="10sp" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/butNext"
|
|
|
- android:layout_width="65dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_toRightOf="@+id/rvPage"
|
|
|
- android:background="@drawable/bg_sou_suo_page"
|
|
|
- android:text="下一页"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="10sp" />
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
@@ -437,21 +442,21 @@
|
|
|
android:background="@mipmap/img_gh_smsb" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="11dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="请将化学品标签对准扫描区域识别"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="11dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="或点选左侧化学品"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
@@ -476,13 +481,13 @@
|
|
|
android:layout_height="34dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/chemicalName"
|
|
|
android:layout_width="300px"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="15sp" />
|
|
|
|
|
@@ -496,8 +501,6 @@
|
|
|
android:background="@mipmap/icon_sy_zq" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/chemicalCategoryName"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="20dp"
|
|
@@ -505,7 +508,9 @@
|
|
|
android:layout_marginRight="20dp"
|
|
|
android:layout_toLeftOf="@+id/imgA"
|
|
|
android:background="@drawable/bg_guan_zhi"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:paddingLeft="10dp"
|
|
|
android:paddingTop="3dp"
|
|
|
android:paddingRight="10dp"
|
|
@@ -514,8 +519,6 @@
|
|
|
android:textSize="10sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/chemicalLevelName"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="20dp"
|
|
@@ -523,7 +526,9 @@
|
|
|
android:layout_marginRight="6dp"
|
|
|
android:layout_toLeftOf="@+id/chemicalCategoryName"
|
|
|
android:background="@drawable/bg_guan_zhi"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
android:paddingLeft="10dp"
|
|
|
android:paddingTop="3dp"
|
|
|
android:paddingRight="10dp"
|
|
@@ -537,12 +542,12 @@
|
|
|
android:layout_height="34dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/tagCode"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
@@ -560,22 +565,22 @@
|
|
|
android:layout_marginTop="8dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="规格:"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/spec"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
</LinearLayout>
|
|
@@ -585,22 +590,22 @@
|
|
|
android:layout_height="34dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="库存量:"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/surplus"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
</LinearLayout>
|
|
@@ -611,22 +616,22 @@
|
|
|
android:layout_height="34dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="归属人:"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/belongName"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
</LinearLayout>
|
|
@@ -637,36 +642,36 @@
|
|
|
android:layout_height="34dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/tv1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="过期时间:"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/expireTime"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_toRightOf="@+id/tv1"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/tvNoName"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="6dp"
|
|
|
android:layout_toRightOf="@+id/expireTime"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="已过期"
|
|
|
android:textColor="@color/purple_FF7919"
|
|
|
android:textSize="12sp"
|
|
@@ -679,25 +684,25 @@
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="存储位置:"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/storage"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="30dp"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="4dp"
|
|
|
android:background="@drawable/bg_shu_ru_kuang_twoe"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center_vertical"
|
|
|
+ android:maxLines="1"
|
|
|
android:paddingLeft="8dp"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
@@ -725,21 +730,21 @@
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="已废弃出库"
|
|
|
android:textColor="@color/purple_16BC3D"
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/surplusTow"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="10dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
<RelativeLayout
|
|
@@ -756,13 +761,13 @@
|
|
|
android:background="@mipmap/icon_fe_qi" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:layout_toRightOf="@+id/img4"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="请及时进行废弃物品回收"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
@@ -783,13 +788,13 @@
|
|
|
android:background="@mipmap/icon_sy_zq" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:layout_toRightOf="@+id/img2"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="柜门已开,请取出废弃的化学品"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
@@ -798,14 +803,14 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
android:layout_centerInParent="true"
|
|
|
android:layout_marginTop="10dp"
|
|
|
android:layout_marginBottom="20dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="如需继续操作,请扫描标签或点选左侧化学品"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
@@ -828,11 +833,11 @@
|
|
|
android:background="@mipmap/img_gh_smsb" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="11dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="请将化学品标签对准扫描区域识别"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
@@ -851,13 +856,13 @@
|
|
|
android:background="@mipmap/icon_sy_zq" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="8dp"
|
|
|
android:layout_toRightOf="@+id/imgView"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="柜门已开,请取出废弃的化学品"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="12sp" />
|
|
@@ -878,26 +883,26 @@
|
|
|
android:background="@drawable/bg_shu_ru_kuang">
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/cabinet"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="30dp"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="4dp"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center_vertical"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="存储位置:一柜子-左一门"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:layout_toRightOf="@+id/cabinet"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:text="3号格"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp"
|