Page MenuHomec4science

item_patient.xml
No OneTemporary

File Metadata

Created
Thu, Jan 30, 21:14

item_patient.xml

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<ImageView
android:id="@+id/manage_patient_picture"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:contentDescription="@string/patient_profile_picture_small"
android:src="@drawable/ic_action_person" />
<!-- Name line -->
<LinearLayout
android:id="@+id/manage_patient_line_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/manage_patient_picture"
android:orientation="horizontal" >
<!-- Lastname -->
<TextView
android:id="@+id/manage_patient_lastname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/size_line_name"
android:textAllCaps="true" />
<!-- Firstname -->
<TextView
android:id="@+id/manage_patient_firstname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/patient_item_spacing_line"
android:textSize="@dimen/size_line_name" />
</LinearLayout>
<!-- Id and address -->
<LinearLayout
android:id="@+id/manage_patient_line_details"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/manage_patient_picture"
android:layout_below="@id/manage_patient_line_name"
android:orientation="horizontal" >
<!-- Patient Id -->
<TextView
android:id="@+id/manage_patient_patient_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/size_line_detail" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/patient_item_spacing_line"
android:layout_marginRight="@dimen/patient_item_spacing_line"
android:text="@string/manage_patient_line_separator" />
<!-- Address -->
<TextView
android:id="@+id/manage_patient_address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/size_line_detail" />
</LinearLayout>
</RelativeLayout>

Event Timeline