|
@@ -0,0 +1,574 @@
|
|
|
+<?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:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#030e2c"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <android.support.v4.widget.DrawerLayout
|
|
|
+ android:id="@+id/drawer_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_toilet_state"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="@dimen/dp_6"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_yesterday"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="昨日合计进:"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_8"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_sketchmap"
|
|
|
+ android:layout_width="@dimen/dp_345"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/sketchmap" />
|
|
|
+ <com.sunzee.ui.view.CustomViewSketchMapGrounp
|
|
|
+ android:id="@+id/cv_custom"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_commit"
|
|
|
+ android:layout_width="@dimen/dp_50"
|
|
|
+ android:layout_height="@dimen/dp_20"
|
|
|
+ android:layout_marginRight="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:background="@drawable/shape_login_rounded_rectangle"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_toLeftOf="@id/ll_dataright"
|
|
|
+ android:text="保存位置修改"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_6" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_50"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_above="@id/ll_navigation"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/dp_10"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_signin_code"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_50"
|
|
|
+ android:src="@drawable/icon_no_gongzonghao"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_signin_code_error"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_50"
|
|
|
+ android:background="@drawable/icon_no_gongzonghao">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#cc000000"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="@dimen/dp_4"
|
|
|
+ android:text="获取失败,请点击下方按钮进行刷新"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/dp_5" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_2"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="扫一扫上面的签到码,进行签到"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_6" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_refresh_signin_code"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_12"
|
|
|
+ android:layout_marginTop="@dimen/dp_2"
|
|
|
+ android:background="@drawable/shape_login_rounded_rectangle"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="刷新签到码"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/dp_5" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_dataright"
|
|
|
+ android:layout_toRightOf="@id/iv_sketchmap"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="@dimen/dp_310"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_toRightOf="@id/iv_sketchmap">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_operationaldata"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:text="实时运营数据"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_11" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_date"
|
|
|
+ android:layout_width="@dimen/dp_180"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="@dimen/dp_14"
|
|
|
+ android:text="2021年01月15日 星期五 09:33:11"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_date2"
|
|
|
+ android:layout_width="@dimen/dp_56"
|
|
|
+ android:layout_height="@dimen/dp_14"
|
|
|
+ android:layout_below="@id/tv_operationaldata"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_7"
|
|
|
+ android:background="@drawable/shape_data_rounded_rectangle"
|
|
|
+ android:drawableLeft="@drawable/data"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingVertical="@dimen/dp_2"
|
|
|
+ android:paddingLeft="@dimen/dp_4"
|
|
|
+ android:text="数据统计"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_7" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:layout_alignBottom="@id/tv_date2"
|
|
|
+ android:layout_marginLeft="@dimen/dp_11"
|
|
|
+ android:layout_toRightOf="@id/tv_date2"
|
|
|
+ android:background="#00259a" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_cleandata"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_date2"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_6">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_98"
|
|
|
+ android:layout_height="@dimen/dp_42"
|
|
|
+ android:layout_below="@id/tv_date2"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_6"
|
|
|
+ android:layout_marginRight="@dimen/dp_7"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/dp_10"
|
|
|
+ android:paddingTop="@dimen/dp_3">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="今日清洗合计(次数)"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_6" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_washingtime"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="8,5322,3"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_98"
|
|
|
+ android:layout_height="@dimen/dp_42"
|
|
|
+ android:layout_below="@id/tv_date2"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_6"
|
|
|
+ android:layout_marginRight="@dimen/dp_7"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/dp_10"
|
|
|
+ android:paddingTop="@dimen/dp_3">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="今日合计进厕所(次数)"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_6" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_in"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="8,5322,3"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_98"
|
|
|
+ android:layout_height="@dimen/dp_42"
|
|
|
+ android:layout_below="@id/tv_date2"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_6"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/dp_10"
|
|
|
+ android:paddingTop="@dimen/dp_3">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="今日合计出厕所(次数)"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_6" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_out"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="8,5322,3"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_cleandata2"
|
|
|
+ android:layout_width="@dimen/dp_310"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/ll_cleandata"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_6">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_98"
|
|
|
+ android:layout_marginRight="@dimen/dp_7"
|
|
|
+ android:layout_height="@dimen/dp_42"
|
|
|
+ android:layout_below="@id/tv_date2"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_6"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/dp_10"
|
|
|
+ android:paddingTop="@dimen/dp_3">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="当前室内温度(°C)"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_6" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_temperature"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="20°C"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_98"
|
|
|
+ android:layout_height="@dimen/dp_42"
|
|
|
+ android:layout_below="@id/tv_date2"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_6"
|
|
|
+ android:layout_marginRight="@dimen/dp_7"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/dp_10"
|
|
|
+ android:paddingTop="@dimen/dp_3">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="当前室内湿度(%)"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_6" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_humidity"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="56%"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_98"
|
|
|
+ android:layout_height="@dimen/dp_42"
|
|
|
+ android:layout_below="@id/tv_date2"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_6"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/dp_10"
|
|
|
+ android:paddingTop="@dimen/dp_3">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="室内氨气(PPM)"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_6" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_ammonia"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="0.1PPM"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_cleandata3"
|
|
|
+ android:layout_width="@dimen/dp_310"
|
|
|
+ android:layout_height="@dimen/dp_80"
|
|
|
+ android:layout_below="@id/ll_cleandata2"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_date3"
|
|
|
+ android:layout_width="@dimen/dp_56"
|
|
|
+ android:layout_height="@dimen/dp_14"
|
|
|
+ android:layout_below="@id/tv_operationaldata"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:drawableLeft="@drawable/data"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingVertical="@dimen/dp_2"
|
|
|
+ android:paddingLeft="@dimen/dp_4"
|
|
|
+ android:text="数据统计"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_7" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_82"
|
|
|
+ android:layout_height="@dimen/dp_47"
|
|
|
+ android:layout_marginRight="@dimen/dp_11"
|
|
|
+ android:background="@drawable/shape_cleanwc_rounded_rectangle"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_wctoilets"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="11"
|
|
|
+ android:textColor="#FF2164"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="厕所总数"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_8" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_82"
|
|
|
+ android:layout_height="@dimen/dp_47"
|
|
|
+ android:layout_marginRight="@dimen/dp_11"
|
|
|
+ android:background="@drawable/shape_cleanwc_rounded_rectangle"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_wcuser"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="11"
|
|
|
+ android:textColor="#1FFF8F"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="使用中"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_8" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_82"
|
|
|
+ android:layout_height="@dimen/dp_47"
|
|
|
+ android:background="@drawable/shape_cleanwc_rounded_rectangle"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_wcempty"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="11"
|
|
|
+ android:textColor="#FFCC21"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="空置"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_8" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/dp_310"
|
|
|
+ android:layout_height="@dimen/dp_80"
|
|
|
+ android:layout_below="@id/ll_cleandata3"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_date4"
|
|
|
+ android:layout_width="@dimen/dp_56"
|
|
|
+ android:layout_height="@dimen/dp_14"
|
|
|
+ android:layout_below="@id/tv_operationaldata"
|
|
|
+ android:layout_alignLeft="@id/tv_operationaldata"
|
|
|
+ android:drawableLeft="@drawable/data"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingVertical="@dimen/dp_2"
|
|
|
+ android:paddingLeft="@dimen/dp_4"
|
|
|
+ android:text="查看物料"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_7" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="暂无"
|
|
|
+ android:textColor="#E6EAFDFF"
|
|
|
+ android:textSize="@dimen/sp_10" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_navigation"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_16"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:background="@drawable/shape_date2_rounded_rectangle"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_equipment_no1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toLeftOf="@id/tv_company"
|
|
|
+ android:text="设备编号:"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_6"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_company"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/dp_12"
|
|
|
+ android:layout_toLeftOf="@id/tv_contacts"
|
|
|
+ android:paddingLeft="@dimen/dp_2"
|
|
|
+ android:text="公司:"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_6"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_contacts"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignRight="@id/ll_useCount"
|
|
|
+ android:layout_marginLeft="@dimen/dp_12"
|
|
|
+ android:paddingLeft="@dimen/dp_2"
|
|
|
+ android:text="联系人:"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_6"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_sigin"
|
|
|
+ android:layout_width="@dimen/dp_41"
|
|
|
+ android:layout_height="@dimen/dp_41"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="@dimen/dp_8"
|
|
|
+ android:background="@drawable/shape_radio_signin"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="签到"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_12" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.NavigationView
|
|
|
+ android:id="@+id/navigation_view"
|
|
|
+ android:layout_width="@dimen/dp_120"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="start"
|
|
|
+ android:background="#011f4b"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:headerLayout="@layout/header"
|
|
|
+ app:itemIconTint="@color/colorAccent" />
|
|
|
+ </RelativeLayout>
|
|
|
+ </android.support.v4.widget.DrawerLayout>
|
|
|
+</RelativeLayout>
|