123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.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:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/shallowblue"
- android:orientation="vertical"
- android:paddingLeft="@dimen/dp_10"
- android:paddingRight="@dimen/dp_10">
- <LinearLayout
- android:id="@+id/linearLayout3"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:gravity="center"
- app:layout_constraintBottom_toTopOf="@+id/linearLayout4"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="@dimen/dp_55"
- android:layout_marginRight="@dimen/dp_7"
- android:layout_weight="1"
- android:background="@drawable/shape_home_bottom1_rectangle"
- android:orientation="vertical"
- android:padding="@dimen/dp_7">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/dp_2"
- android:text="@string/total_cleaning_times_today"
- android:textColor="@color/white"
- android:textSize="@dimen/sp_7" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="767W"
- android:textColor="@color/white"
- android:textSize="@dimen/dp_14" />
- </LinearLayout>
- <RelativeLayout
- android:layout_width="0dp"
- android:layout_height="@dimen/dp_55"
- android:layout_margin="@dimen/dp_5"
- android:layout_weight="1"
- android:background="@drawable/shape_home_bottom2_rectangle"
- android:orientation="vertical"
- android:padding="@dimen/dp_7">
- <TextView
- android:id="@+id/tv_sum_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/random_cleaning_times_today"
- android:textColor="#939494"
- android:textSize="@dimen/sp_7" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/dp_13"
- android:text="767W"
- android:textColor="@color/logo_blue"
- android:textSize="@dimen/dp_14" />
- <ImageView
- android:layout_width="@dimen/dp_35"
- android:layout_height="@dimen/dp_35"
- android:layout_alignParentRight="true"
- android:layout_marginTop="@dimen/dp_10"
- android:layout_marginRight="@dimen/dp_5"
- android:src="@drawable/random" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="0dp"
- android:layout_height="@dimen/dp_55"
- android:layout_margin="@dimen/dp_5"
- android:layout_weight="1"
- android:background="@drawable/shape_home_bottom1_rectangle"
- android:orientation="vertical"
- android:padding="@dimen/dp_7">
- <TextView
- android:id="@+id/tv_random_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/regular_cleaning_times_today"
- android:textColor="@color/white"
- android:textSize="@dimen/sp_7" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/dp_13"
- android:text="767W"
- android:textColor="@color/white"
- android:textSize="@dimen/dp_14" />
- <ImageView
- android:layout_width="@dimen/dp_35"
- android:layout_height="@dimen/dp_35"
- android:layout_alignParentRight="true"
- android:layout_marginTop="@dimen/dp_10"
- android:layout_marginRight="@dimen/dp_5"
- android:src="@drawable/timing" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="0dp"
- android:layout_height="@dimen/dp_55"
- android:layout_marginLeft="@dimen/dp_5"
- android:layout_marginTop="@dimen/dp_5"
- android:layout_marginBottom="@dimen/dp_5"
- android:layout_weight="1"
- android:background="@drawable/shape_home_bottom2_rectangle"
- android:orientation="vertical"
- android:padding="@dimen/dp_7">
- <TextView
- android:id="@+id/tv_data_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/dp_2"
- android:text="2020-04-20"
- android:textColor="@color/gray"
- android:textSize="@dimen/sp_7" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/dp_13"
- android:text="10:35"
- android:textColor="@color/logo_blue"
- android:textSize="@dimen/dp_14" />
- <ImageView
- android:layout_width="@dimen/dp_35"
- android:layout_height="@dimen/dp_35"
- android:layout_alignParentRight="true"
- android:layout_marginTop="@dimen/dp_10"
- android:layout_marginRight="@dimen/dp_5"
- android:src="@drawable/time" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linearLayout4"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginBottom="13dp"
- android:background="@drawable/shape_home_malfunction_rectangle"
- android:padding="@dimen/dp_5"
- app:layout_constraintBottom_toTopOf="@+id/linearLayout"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/linearLayout3">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/fault_today"
- android:textColor="@color/logo_blue"
- android:textSize="@dimen/sp_7" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:textSize="@dimen/sp_9">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/dp_8"
- android:text="@string/untreated"
- android:textSize="@dimen/sp_6" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/dp_5"
- android:layout_marginRight="@dimen/dp_5"
- android:text="24"
- android:textColor="@color/bright_blue"
- android:textSize="@dimen/sp_10" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/a"
- android:textSize="@dimen/sp_6" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/dp_8"
- android:text="@string/fault_today"
- android:textSize="@dimen/sp_6" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/dp_5"
- android:layout_marginRight="@dimen/dp_5"
- android:text="12"
- android:textColor="@color/orange"
- android:textSize="@dimen/sp_10" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/a"
- android:textSize="@dimen/sp_6" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/dp_8"
- android:text="@string/complete"
- android:textSize="@dimen/sp_6" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/dp_5"
- android:layout_marginRight="@dimen/dp_5"
- android:text="12"
- android:textColor="#385AA8"
- android:textSize="@dimen/sp_10" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/a"
- android:textSize="@dimen/sp_6" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linearLayout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/linearLayout4">
- <LinearLayout
- android:layout_width="@dimen/dp_140"
- android:layout_height="@dimen/dp_80"
- android:layout_marginTop="@dimen/dp_5"
- android:layout_marginRight="@dimen/dp_5"
- android:layout_marginBottom="@dimen/dp_5"
- android:background="@drawable/shape_home_bottom2_rectangle"
- android:orientation="vertical"
- android:padding="@dimen/dp_7">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="@dimen/dp_40"
- android:text="@string/flow_people_today"
- android:textColor="#3E5DA8"
- android:textSize="@dimen/sp_7" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/dp_10"
- android:text="7677W"
- android:textColor="@color/orange"
- android:textSize="@dimen/dp_16" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/dp_5"
- android:text="@string/traffic_was"
- android:textSize="@dimen/sp_6" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="@dimen/dp_200"
- android:layout_height="@dimen/dp_80"
- android:layout_margin="@dimen/dp_5"
- android:background="@drawable/shape_home_bottom2_rectangle"
- android:orientation="vertical"
- android:padding="@dimen/dp_7">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="@dimen/dp_70"
- android:text="@string/cleaning_method"
- android:textColor="#3E5DA8"
- android:textSize="@dimen/sp_7" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center">
- <RelativeLayout
- android:id="@+id/rl_clear"
- android:layout_width="@dimen/dp_80"
- android:layout_height="match_parent"
- android:layout_margin="@dimen/dp_5"
- android:background="@drawable/shape_clearblue_rectangle">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="@dimen/dp_5"
- android:text="@string/start_cleaning"
- android:textColor="@color/white"
- android:textSize="@dimen/dp_8" />
- <ImageView
- android:layout_width="@dimen/dp_40"
- android:layout_height="@dimen/dp_40"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="true"
- android:src="@drawable/timing2" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="@dimen/dp_80"
- android:layout_height="match_parent"
- android:layout_margin="@dimen/dp_5"
- android:background="@drawable/shape_clearorgle_rectangle">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="@dimen/dp_5"
- android:text="@string/regular_cleaning"
- android:textColor="@color/white"
- android:textSize="@dimen/dp_8" />
- <ImageView
- android:layout_width="@dimen/dp_40"
- android:layout_height="@dimen/dp_40"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="true"
- android:src="@drawable/time2" />
- </RelativeLayout>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/dp_80"
- android:layout_marginLeft="@dimen/dp_5"
- android:layout_marginTop="@dimen/dp_5"
- android:layout_marginBottom="@dimen/dp_5"
- android:background="@drawable/shape_home_bottom2_rectangle"
- android:orientation="vertical"
- android:padding="@dimen/dp_7">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="@dimen/dp_70"
- android:text="@string/environmental_testing"
- android:textColor="#3E5DA8"
- android:textSize="@dimen/sp_7" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/sp_8"
- android:gravity="center">
- <TextView
- android:layout_width="@dimen/dp_28"
- android:layout_height="@dimen/dp_28"
- android:layout_marginRight="@dimen/dp_28"
- android:background="@drawable/shape_hollow_circle_wendu"
- android:gravity="center"
- android:text="40°"
- android:textColor="#ffd95e"
- android:textSize="@dimen/sp_8" />
- <TextView
- android:layout_width="@dimen/dp_28"
- android:layout_height="@dimen/dp_28"
- android:layout_marginRight="@dimen/dp_28"
- android:background="@drawable/shape_hollow_circle_shidu"
- android:gravity="center"
- android:text="40°"
- android:textColor="#437dff"
- android:textSize="@dimen/sp_8" />
- <TextView
- android:layout_width="@dimen/dp_28"
- android:layout_height="@dimen/dp_28"
- android:layout_marginLeft="@dimen/dp_5"
- android:layout_marginRight="@dimen/dp_5"
- android:background="@drawable/shape_hollow_circle_huanjing"
- android:gravity="center"
- android:text="40°"
- android:textColor="#57f3ff"
- android:textSize="@dimen/sp_8" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/sp_8"
- android:gravity="center">
- <TextView
- android:layout_width="@dimen/dp_28"
- android:layout_height="@dimen/dp_28"
- android:layout_marginRight="@dimen/dp_30"
- android:gravity="center"
- android:text="@string/temperature"
- android:textColor="@color/logo_blue"
- android:textSize="@dimen/sp_6" />
- <TextView
- android:layout_width="@dimen/dp_28"
- android:layout_height="@dimen/dp_28"
- android:layout_marginRight="@dimen/dp_30"
- android:gravity="center"
- android:text="@string/humidity"
- android:textColor="@color/logo_blue"
- android:textSize="@dimen/sp_6" />
- <TextView
- android:layout_width="@dimen/dp_40"
- android:layout_height="@dimen/dp_28"
- android:gravity="center"
- android:text="@string/environmental_comfort_index"
- android:textColor="@color/logo_blue"
- android:textSize="@dimen/sp_6" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </android.support.constraint.ConstraintLayout>
|