Files
hpos/app/src/main/res/layout/activity_main.xml

187 lines
6.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<layout 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">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="120dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="80dp"
android:src="@drawable/shanmukha_logo_small"
android:textColor="#131313"
android:textSize="24sp"
android:textStyle="bold">
</ImageView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:src="@drawable/shanmukha_logo_small"
android:text="Sickle Cell App 0.0.3"
android:textColor="#000"
android:textSize="18sp"
android:textStyle="bold">
</TextView>
<View
android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_margin="20dp"
android:background="#EEE" />
<TableLayout
android:id="@+id/table45"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TableRow android:layout_marginTop="20dp">
<TextView
android:id="@+id/instrument_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_column="1"
android:layout_marginLeft="10dp"
android:paddingStart="5dp"
android:paddingLeft="5dp"
android:text="Select the instrument*"
android:textColor="#000"
android:textSize="17sp" />
<Spinner
android:id="@+id/spinner_device"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp" />
</TableRow>
</TableLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_margin="20dp"
android:background="#EEE" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:orientation="vertical">
<TextView
android:id="@+id/type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="5dp"
android:text="Select Test Type *"
android:textColor="#000"
android:textSize="17sp"
/>
<Button
android:id="@+id/screening"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="23dp"
android:layout_marginTop="5dp"
android:layout_marginRight="23dp"
android:text="Screening"
android:textColor="#000"
/>
<Button
android:id="@+id/confirmatory"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="23dp"
android:layout_marginTop="5dp"
android:layout_marginRight="23dp"
android:text="confirmatory"
android:textColor="#000"
/>
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_margin="20dp"
android:background="#EEE" />
<RelativeLayout
android:id="@+id/RelativeLayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="0dp"
android:orientation="vertical"
android:paddingTop="0dp">
<TableLayout
android:id="@+id/table_main"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:paddingBottom="23dp" />
</RelativeLayout>
<TextView
android:id="@+id/result"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_gravity="center"
android:textColor="#000"
android:textSize="23dp" />
<TextView
android:id="@+id/result_confirmatory"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_gravity="center"
android:textColor="#000"
android:textSize="23dp" />
</LinearLayout>
</ScrollView>
</LinearLayout>
</layout>