225 lines
8.8 KiB
XML
225 lines
8.8 KiB
XML
<?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"
|
|
android:id="@+id/layout"
|
|
android:layout_width="match_parent"
|
|
android:background="#fff"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
>
|
|
<ScrollView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentTop="true">
|
|
|
|
<LinearLayout
|
|
android:layout_marginTop="@android:dimen/app_icon_size"
|
|
android:background="#fff"
|
|
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="180dp"
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:src="@drawable/logo_app"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:gravity="center"
|
|
android:text="Patient Details "
|
|
android:textColor="#131313"
|
|
android:textSize="@dimen/heading_size"
|
|
android:textStyle="bold">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="-23dp"
|
|
android:layout_marginRight="10dp"
|
|
android:orientation="vertical">
|
|
//second linear
|
|
//third linear
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="10dp"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:background="#fff"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<EditText
|
|
android:id="@+id/patientid"
|
|
android:layout_width="match_parent"
|
|
android:maxLength="5"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="20dp"
|
|
android:fontFamily="@font/fontstyle"
|
|
android:hint="Patient ID *"
|
|
android:paddingStart="5dp"
|
|
android:paddingLeft="5dp"
|
|
android:singleLine="true" />
|
|
<TableLayout
|
|
android:id="@+id/table45"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TableRow android:layout_marginTop="20dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_column="1"
|
|
android:layout_marginLeft="10dp"
|
|
android:fontFamily="@font/fontstyle"
|
|
android:paddingStart="5dp"
|
|
android:paddingLeft="5dp"
|
|
android:id="@+id/gender"
|
|
android:textSize="@dimen/small_text_size"
|
|
|
|
|
|
android:text="Patient Gender *"
|
|
android:textColor="@android:color/darker_gray"
|
|
/>
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_gender"
|
|
android:layout_width="150dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="20dp" />
|
|
</TableRow>
|
|
</TableLayout>
|
|
<EditText
|
|
android:id="@+id/dob"
|
|
android:editable="false"
|
|
android:inputType="none"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="20dp"
|
|
android:fontFamily="@font/fontstyle"
|
|
|
|
android:hint="Date of Birth"
|
|
android:drawableEnd="@android:drawable/ic_menu_today"
|
|
android:drawableRight="@android:drawable/ic_menu_edit"
|
|
|
|
android:maxLines="1"
|
|
android:paddingStart="5dp"
|
|
android:paddingLeft="5dp"
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
android:id="@+id/age"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="20dp"
|
|
android:fontFamily="@font/fontstyle"
|
|
android:inputType="number"
|
|
android:maxLength="3"
|
|
|
|
|
|
android:hint="Age *"
|
|
android:maxLines="1"
|
|
android:paddingStart="5dp"
|
|
android:paddingLeft="5dp"
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
<EditText
|
|
android:id="@+id/NikshayID"
|
|
android:maxLength="9"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="20dp"
|
|
android:fontFamily="@font/fontstyle"
|
|
android:hint="Nikshay ID *"
|
|
android:inputType="number"
|
|
|
|
android:maxLines="1"
|
|
android:paddingStart="5dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
android:id="@+id/next"
|
|
android:layout_width="match_parent"
|
|
android:layout_marginTop="50dp"
|
|
|
|
|
|
|
|
android:background="@drawable/buttonshape"
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="100dp"
|
|
android:layout_marginBottom="200dp"
|
|
|
|
|
|
android:layout_marginEnd="100dp"
|
|
android:textColor="@android:color/white"
|
|
android:text="Next"
|
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</LinearLayout> |