Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#FFFAFF" >
- <!-- Header aligned to top -->
- <LinearLayout
- android:id="@+id/header"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:gravity="center"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="3sp"
- android:baselineAligned="false"
- android:orientation="horizontal"
- android:weightSum="1.0" >
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight=".90"
- android:gravity="center"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginLeft="50dp"
- android:text="@string/pp_str_header"
- android:textColor="#000000"
- android:textSize="35sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight=".10"
- android:gravity="center"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/PP_Btn_Home"
- android:layout_width="45dp"
- android:layout_height="45dp"
- android:layout_marginRight="5sp"
- android:background="@drawable/home" />
- </LinearLayout>
- </LinearLayout>
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="1sp"
- android:background="#000000" />
- </LinearLayout>
- <!-- Footer aligned to bottom -->
- <LinearLayout
- android:id="@+id/footer"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="2sp"
- android:gravity="center"
- android:orientation="horizontal"
- android:weightSum="1.0" >
- <Button
- android:id="@+id/Btn_Diagnosis"
- style="@style/btnStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.50"
- android:text="@string/str_btn_diagnosis"
- android:textSize="18sp" />
- <Button
- android:id="@+id/Btn_Disease"
- style="@style/btnStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="1sp"
- android:layout_weight="0.50"
- android:text="@string/str_btn_disease"
- android:textSize="18sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="2sp"
- android:gravity="center"
- android:orientation="horizontal"
- android:weightSum="1.0" >
- <Button
- android:id="@+id/Btn_Allergy"
- style="@style/btnStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.20"
- android:text="@string/str_btn_allergy"
- android:textSize="18sp" />
- <Button
- android:id="@+id/Btn_Medicine"
- style="@style/btnStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="1sp"
- android:layout_marginRight="1sp"
- android:layout_weight="0.20"
- android:text="@string/str_btn_medicine"
- android:textSize="18sp" />
- <Button
- android:id="@+id/Btn_Prescription"
- style="@style/btnStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.20"
- android:background="#000066"
- android:text="@string/str_btn_prescription"
- android:textSize="18sp" />
- <Button
- android:id="@+id/Btn_History"
- style="@style/btnStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="1sp"
- android:layout_marginRight="1sp"
- android:layout_weight="0.20"
- android:text="@string/str_btn_history"
- android:textSize="18sp" />
- <Button
- android:id="@+id/Btn_Detail"
- style="@style/btnStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.20"
- android:text="@string/str_btn_detail"
- android:textSize="18sp" />
- </LinearLayout>
- </LinearLayout>
- <!-- Content below header and above footer -->
- <ScrollView
- android:id="@+id/PP_Scroll"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_above="@id/footer"
- android:layout_below="@id/header" >
- <LinearLayout
- android:id="@+id/PP_Ll"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="3sp"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/pdate"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right"
- android:layout_marginRight="5sp"
- android:hint="@string/pp_str_h_currentDate"
- android:textColor="#000000" />
- <TextView
- android:id="@+id/hospitalname"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginRight="5sp"
- android:hint="@string/pp_str_h_hospitalName"
- android:textColor="#000066"
- android:textStyle="bold"
- android:typeface="serif" />
- <TextView
- android:id="@+id/addresss"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right"
- android:layout_marginRight="5sp"
- android:hint="@string/pp_str_h_hospitalAddress"
- android:textColor="#000000" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginRight="5sp"
- android:gravity="right"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/Namee"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:hint="@string/pp_str_h_docName"
- android:textColor="#000000" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="5sp"
- android:text="@string/pp_str_comma"
- android:textColor="#000000" />
- <TextView
- android:id="@+id/Degree"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:hint="@string/pp_str_h_degree"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginRight="5sp"
- android:gravity="right"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_speciality"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/Speciality"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_speciality"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginRight="5sp"
- android:gravity="right"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_phone"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/phonee"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_phone"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginRight="5sp"
- android:gravity="right"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_email"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/emaill"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_email"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginRight="5sp"
- android:gravity="right"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_license"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/licencee"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_license"
- android:textColor="#000000" />
- </LinearLayout>
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="1sp"
- android:background="#000000" />
- <LinearLayout
- android:id="@+id/PP_Ll1"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="2sp"
- android:gravity="center"
- android:text="@string/h_str_patient_detail"
- android:textColor="#000066"
- android:textSize="16sp" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_patientName"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_patientName"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_patientId"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_UHID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_patientId"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_sex"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Sex"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_sex"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_age"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Age"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_age"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_height"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Height"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_height"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_weight"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Weight"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_weight"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_temp"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Temp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_temp"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_pulse"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Pulse"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_pulse"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_bp"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_BP"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_bp"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_bmi"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Bmi"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_bmi"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_obesity"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Obesity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_obesity"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_bg"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Bg"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_bg"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_contact"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Contact"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_contact"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_email"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Email"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_email"
- android:textColor="#000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="@string/pp_str_address"
- android:textColor="#000066" />
- <TextView
- android:id="@+id/PP_Txtv_Address"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5sp"
- android:hint="@string/pp_str_h_address"
- android:textColor="#000000" />
- </LinearLayout>
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="1sp"
- android:background="#000000" />
- <TextView
- android:id="@+id/PP_Txtv_ComplaintDetail"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp"
- android:gravity="center"
- android:text="@string/h_str_complaint_detail"
- android:textColor="#000066"
- android:textSize="16sp"
- android:visibility="gone" />
- <LinearLayout
- android:id="@+id/PP_Ll_Complaint"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- </LinearLayout>
- <TextView
- android:id="@+id/PP_Txtv_DiseaseDetail"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp"
- android:gravity="center"
- android:text="@string/h_str_disease_detail"
- android:textColor="#000066"
- android:textSize="16sp"
- android:visibility="gone" />
- <LinearLayout
- android:id="@+id/PP_Ll_Disease"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- </LinearLayout>
- <TextView
- android:id="@+id/PP_Txtv_AllergicDetail"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp"
- android:gravity="center"
- android:text="@string/h_str_allergic_detail"
- android:textColor="#000066"
- android:textSize="16sp"
- android:visibility="gone" />
- <LinearLayout
- android:id="@+id/PP_Ll_Allergy"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- </LinearLayout>
- <TextView
- android:id="@+id/PP_Txtv_MedicineDetail"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp"
- android:gravity="center"
- android:text="@string/h_str_medicine_detail"
- android:textColor="#000066"
- android:textSize="16sp"
- android:visibility="gone" />
- <LinearLayout
- android:id="@+id/PP_Ll_Medicine"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- </LinearLayout>
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="20sp"
- android:text="@string/pp_str_Note"
- android:textColor="#000066" />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="20sp"
- android:text="@string/pp_str_assessment"
- android:textColor="#000066" />
- <Button
- android:id="@+id/Btn_Save"
- style="@style/btnStyle"
- android:layout_width="100sp"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginBottom="10sp"
- android:layout_marginTop="10sp"
- android:text="@string/str_btn_submit"
- android:textSize="18sp" />
- <Button
- android:id="@+id/Btn_Capture"
- style="@style/btnStyle"
- android:layout_width="100sp"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginBottom="10sp"
- android:text="Capture"
- android:textSize="18sp" />
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment