123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout 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:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/mainBackGroundColor"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/white"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_margin="8dp">
- <LinearLayout
- android:id="@+id/typePatient"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:orientation="horizontal">
- <LinearLayout
- android:id="@+id/patientLeftRound"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:background="@drawable/shape_left_round">
- <ImageView
- android:id="@+id/ivPatient"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:padding="8dp"
- android:layout_gravity="center"
- android:src="@drawable/ic_accessible_black_24dp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/patientRightRound"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:background="@drawable/shape_right_round2">
- <TextView
- android:id="@+id/tvPatient"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:padding="8dp"
- android:text="@string/typePatient"
- android:textColor="@color/black"
- android:textSize="18sp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/typeWriter"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_marginLeft="24dp"
- android:orientation="horizontal">
- <LinearLayout
- android:id="@+id/writerLeftRound"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:background="@drawable/shape_left_round">
- <ImageView
- android:id="@+id/ivWriter"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:padding="10dp"
- android:layout_gravity="center"
- android:src="@drawable/ic_doctor" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/writerRightRound"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:background="@drawable/shape_right_round2">
- <TextView
- android:id="@+id/tvWriter"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:padding="8dp"
- android:text="@string/typeWriter"
- android:textColor="@color/black"
- android:textSize="18sp" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="8dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/inquiryPeriod"
- android:textColor="@color/black"
- android:textSize="18sp"
- android:textStyle="bold" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:orientation="horizontal">
- <LinearLayout
- android:id="@+id/leftDateLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginRight="4dp"
- android:layout_weight="1"
- android:background="@drawable/shape_item"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="1">
- <TextView
- android:id="@+id/tvLeftDate"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:padding="8dp"
- android:ellipsize="end"
- android:gravity="center"
- android:singleLine="true"
- android:text="2019/11/12"
- android:textSize="16sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:paddingHorizontal="5dp"
- android:layout_gravity="center"
- android:background="@drawable/shape_right_round">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:paddingHorizontal="3dp"
- android:src="@drawable/date" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/rightDateLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
- android:layout_weight="1"
- android:background="@drawable/shape_item"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="1">
- <TextView
- android:id="@+id/tvRightDate"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:padding="8dp"
- android:ellipsize="end"
- android:gravity="center"
- android:singleLine="true"
- android:text="2019/11/12"
- android:textSize="16sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:paddingHorizontal="5dp"
- android:layout_gravity="center"
- android:background="@drawable/shape_right_round">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:paddingHorizontal="3dp"
- android:src="@drawable/date" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <Button
- android:id="@+id/btnHistorySearch"
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:layout_margin="8dp"
- android:layout_marginLeft="4dp"
- android:layout_marginRight="4dp"
- android:background="@drawable/shape_logout"
- android:text="@string/inquiry"
- android:textColor="@color/white"
- android:textSize="18sp"
- style="?android:attr/borderlessButtonStyle"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="8dp">
- <CheckBox
- android:id="@+id/checkAll"
- android:theme="@style/CheckBoxTheme"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="@string/all"
- android:textSize="14sp" />
- <CheckBox
- android:id="@+id/checkTemp"
- android:theme="@style/CheckBoxTheme"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="@string/temp"
- android:textSize="14sp" />
- <CheckBox
- android:id="@+id/checkCert"
- android:theme="@style/CheckBoxTheme"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/cert"
- android:textSize="14sp" />
- <CheckBox
- android:id="@+id/checkConfirm"
- android:theme="@style/CheckBoxTheme"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="@string/confirm"
- android:textSize="14sp" />
- <CheckBox
- android:id="@+id/checkPrint"
- android:theme="@style/CheckBoxTheme"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="@string/print"
- android:textSize="14sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="8dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/historyRecyclerView"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:text="@string/emptyHistory"
- android:textSize="18sp" />
- </RelativeLayout>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
|