|
|
@ -0,0 +1,191 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
android:layout_width="fill_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:weightSum="2" |
|
|
|
android:padding="10dp" |
|
|
|
android:layout_margin="10dp" |
|
|
|
android:orientation="vertical" |
|
|
|
android:background="@drawable/edittext_border" |
|
|
|
> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/EmployeeName" |
|
|
|
android:text="Employee Name" |
|
|
|
android:layout_marginTop="5dp" |
|
|
|
android:layout_marginBottom="5dp" |
|
|
|
android:layout_weight="0.5" |
|
|
|
android:textSize="18sp" |
|
|
|
android:textStyle="bold" |
|
|
|
android:layout_width="fill_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="@color/colorPrimary" /> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/EmployeeNameVal" |
|
|
|
android:text="EmployeeName" |
|
|
|
android:layout_weight="0.5" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="#5d5d5d" |
|
|
|
android:gravity="center_horizontal" |
|
|
|
/> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/EmployeeID" |
|
|
|
android:text="Employee ID" |
|
|
|
android:layout_marginTop="5dp" |
|
|
|
android:layout_marginBottom="5dp" |
|
|
|
android:layout_weight="0.5" |
|
|
|
android:textSize="18sp" |
|
|
|
android:textStyle="bold" |
|
|
|
android:layout_width="fill_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="@color/colorPrimary" /> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/EmployeeIDVal" |
|
|
|
android:text="EmployeeID" |
|
|
|
android:layout_weight="0.5" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="#5d5d5d" |
|
|
|
android:gravity="center_horizontal" |
|
|
|
/> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/LeaveType" |
|
|
|
android:text="Leave Type" |
|
|
|
android:layout_marginTop="5dp" |
|
|
|
android:layout_marginBottom="5dp" |
|
|
|
android:layout_weight="0.5" |
|
|
|
android:textSize="18sp" |
|
|
|
android:textStyle="bold" |
|
|
|
android:layout_width="fill_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="@color/colorPrimary" /> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/LeaveTypeVal" |
|
|
|
android:text="LeaveType" |
|
|
|
android:layout_weight="0.5" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="#5d5d5d" |
|
|
|
android:gravity="center_horizontal" |
|
|
|
/> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/ApproverName" |
|
|
|
android:text="Approver Name" |
|
|
|
android:layout_marginTop="5dp" |
|
|
|
android:layout_marginBottom="5dp" |
|
|
|
android:layout_weight="0.5" |
|
|
|
android:textSize="18sp" |
|
|
|
android:textStyle="bold" |
|
|
|
android:layout_width="fill_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="@color/colorPrimary" /> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/ApproverNameVal" |
|
|
|
android:text="ApproverName" |
|
|
|
android:layout_weight="0.5" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="#5d5d5d" |
|
|
|
android:gravity="center_horizontal" |
|
|
|
/> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:gravity="center_horizontal" |
|
|
|
android:layout_marginRight="5dp"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="90dp" |
|
|
|
android:layout_height="25dp" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:background="@drawable/bg_btn_with_stroke" |
|
|
|
android:padding="2dp"> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:src="@drawable/tick" |
|
|
|
android:layout_gravity="center" |
|
|
|
android:layout_marginLeft="4dp"/> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="Approve" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:layout_gravity="center" |
|
|
|
android:layout_marginLeft="10dp"/> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="90dp" |
|
|
|
android:layout_height="25dp" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:background="@drawable/bg_btn_with_stroke_grey" |
|
|
|
android:padding="2dp" |
|
|
|
android:layout_marginLeft="5dp" |
|
|
|
> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:src="@drawable/cross" |
|
|
|
android:layout_gravity="center" |
|
|
|
android:layout_marginLeft="4dp"/> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="Reject" |
|
|
|
android:textColor="#CB1A1A" |
|
|
|
android:layout_gravity="center" |
|
|
|
android:layout_marginLeft="15dp"/> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |