123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout 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"
- android:animateLayoutChanges="true"
- android:background="@mipmap/icon_add_bg"
- tools:context=".ui.plan.change.ChangeCabinetActivity"
- tools:ignore="PxUsage">
- <RelativeLayout
- android:id="@+id/rel1"
- android:layout_width="match_parent"
- android:layout_height="45dp"
- android:layout_marginTop="10dp">
- <ImageView
- android:id="@+id/image"
- android:layout_width="30dp"
- android:layout_height="30dp"
- android:layout_centerVertical="true"
- android:layout_marginLeft="20dp" />
- <TextView
- 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:text="实验室名称-房间号"
- android:textColor="@color/white"
- android:textSize="22sp" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:layout_centerVertical="true"
- android:layout_marginTop="2dp">
- <TextView
- android:id="@+id/tvTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:text="化学品智能管理"
- android:textColor="@color/white"
- android:textSize="24sp"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/nowTime"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="6dp"
- android:layout_toRightOf="@+id/tvTitle"
- android:textColor="@color/white" />
- </LinearLayout>
- <RelativeLayout
- android:id="@+id/loggedIn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:gravity="center_vertical"
- android:paddingRight="18dp">
- <ImageView
- android:id="@+id/imageName"
- android:layout_width="30dp"
- android:layout_height="30dp"
- android:layout_centerVertical="true"
- android:layout_marginRight="6dp" />
- <TextView
- android:id="@+id/tvName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="6dp"
- android:layout_marginRight="6dp"
- android:layout_toRightOf="@+id/imageName"
- android:text="李XX"
- android:textColor="@color/white" />
- <ImageView
- android:id="@+id/imgOut"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="6dp"
- android:layout_marginRight="6dp"
- android:layout_toRightOf="@+id/tvName"
- android:background="@mipmap/cshrk_dl_tc" />
- <TextView
- 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:text="退出"
- android:textColor="@color/white"
- android:textSize="16sp" />
- </RelativeLayout>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/rel1"
- android:layout_marginLeft="31dp"
- android:layout_marginTop="15dp"
- android:layout_marginRight="31dp"
- android:layout_marginBottom="69dp"
- android:background="@drawable/bg_add_chemicals_one">
- <TextView
- android:id="@+id/count_TV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:text="1/3" />
- <LinearLayout
- android:id="@+id/control_LL"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <Button
- android:id="@+id/cancel_BT"
- android:layout_width="150px"
- android:layout_height="30dp"
- android:layout_marginHorizontal="35px"
- android:background="@drawable/bg_closes"
- android:text="取消" />
- <Button
- android:id="@+id/confirm_BT"
- android:layout_width="150px"
- android:layout_height="30dp"
- android:layout_marginHorizontal="35px"
- android:background="@drawable/selector_input_select_bt"
- android:text="确定"
- android:textColor="@color/white" />
- </LinearLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@id/control_LL"
- android:layout_below="@id/count_TV"
- android:layout_margin="10px">
- <androidx.viewpager2.widget.ViewPager2
- android:id="@+id/cabinet_VP"
- android:layout_width="1360px"
- android:layout_height="match_parent"
- android:layout_centerInParent="true"
- android:layout_weight="1" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_toStartOf="@id/cabinet_VP">
- <ImageButton
- android:id="@+id/last_BT"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:background="@mipmap/icon_dcc_z"
- android:text="上一页" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_toEndOf="@id/cabinet_VP">
- <ImageButton
- android:id="@+id/next_BT"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:background="@mipmap/icon_dcc_z"
- android:rotation="180"
- android:text="下一页" />
- </RelativeLayout>
- </RelativeLayout>
- </RelativeLayout>
- </RelativeLayout>
|