Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@android:color/white"
- android:focusable="false"
- android:focusableInTouchMode="true"
- android:fitsSystemWindows="true"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:orientation="vertical">
- <include
- layout="@layout/header_layout_correctivedetail"/>
- <FrameLayout
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <include
- layout="@layout/error"/>
- <include
- layout="@layout/loading"/>
- <FrameLayout
- android:id="@+id/container_content"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.v4.widget.NestedScrollView
- android:id="@+id/nested_scroll"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:padding="16dp"
- android:background="@color/colorPrimary"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_weight="1"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="0dp"
- android:orientation="horizontal"
- android:padding="0dp">
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="Task ID"
- android:textColor="@color/white"
- android:textSize="14sp" />
- <TextView
- android:id="@+id/tv_task_id"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="123456789"
- android:textColor="@android:color/white"
- android:textSize="13sp"
- android:textStyle="bold" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="0dp"
- android:orientation="horizontal"
- android:padding="0dp">
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="Type"
- android:textColor="@color/white"
- android:textSize="14sp" />
- <TextView
- android:id="@+id/tv_type"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Overbed Table Vanity"
- android:textColor="@android:color/white"
- android:textSize="13sp"
- android:textStyle="bold" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="0dp"
- android:orientation="horizontal"
- android:padding="0dp">
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="Hospital"
- android:textColor="@color/white"
- android:textSize="14sp" />
- <TextView
- android:id="@+id/tv_location"
- android:layout_marginTop="0dp"
- android:textSize="13sp"
- android:textStyle="bold"
- android:textColor="@color/white60"
- android:text="Siloam Jakarta"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="0dp"
- android:orientation="horizontal"
- android:padding="0dp">
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="Department"
- android:textColor="@color/white"
- android:textSize="14sp" />
- <TextView
- android:id="@+id/tv_department"
- android:layout_marginTop="0dp"
- android:textSize="13sp"
- android:textStyle="bold"
- android:textColor="@color/white60"
- android:text="Department IT"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="0dp"
- android:orientation="horizontal"
- android:padding="0dp">
- <TextView
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:text="Room"
- android:textColor="@color/white"
- android:textSize="14sp" />
- <TextView
- android:id="@+id/tv_room"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="ICU 2nd Floor"
- android:textColor="@android:color/white"
- android:textSize="13sp"
- android:textStyle="bold" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:padding="16dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:textSize="14sp"
- android:textColor="@android:color/black"
- android:text="Issue"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/tv_issue"
- android:layout_marginTop="2dp"
- android:textSize="12sp"
- android:textColor="@color/black60"
- android:text="@string/lorem"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <android.support.v7.widget.RecyclerView
- android:visibility="gone"
- android:id="@+id/recycler_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
- <View
- android:layout_marginTop="16dp"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#CCCCCC"/>
- <LinearLayout
- android:padding="16dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:textSize="14sp"
- android:textColor="@android:color/black"
- android:text="Solution"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/tv_solution"
- android:layout_marginTop="2dp"
- android:textSize="12sp"
- android:textColor="@color/black60"
- android:text="@string/lorem"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/container_downtime"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#CCCCCC"/>
- <LinearLayout
- android:padding="16dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:textSize="14sp"
- android:textColor="@android:color/black"
- android:text="Asset Status"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/tv_downtime"
- android:layout_marginTop="2dp"
- android:textSize="12sp"
- android:textColor="@color/black60"
- android:text="Total Down"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="6dp"
- android:background="#CCCCCC"/>
- <LinearLayout
- android:id="@+id/container_assigned"
- android:padding="16dp"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/tv_title_assigned"
- android:textSize="14sp"
- android:textColor="@android:color/black"
- android:text="Reporter"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <LinearLayout
- android:gravity="center_vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <com.makeramen.roundedimageview.RoundedImageView
- android:id="@+id/img_assigned"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:scaleType="centerCrop"
- android:src="@drawable/bg_left"
- app:riv_oval="true"/>
- <LinearLayout
- android:layout_weight="1"
- android:padding="10dp"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tv_assigned_name"
- android:textSize="14sp"
- android:textColor="@android:color/black"
- android:text="David Gilmour"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/tv_assigned_id"
- android:textSize="12sp"
- android:textColor="@color/half_black"
- android:text="28912381823718"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <Button
- android:id="@+id/btn_call"
- android:textAllCaps="false"
- android:textColor="@android:color/white"
- android:background="@color/cyan"
- android:text="Call"
- android:textSize="12sp"
- android:layout_width="60dp"
- android:layout_height="35dp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/container_unassigned"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:padding="16dp"
- android:gravity="center"
- android:textSize="12sp"
- android:textColor="@color/red"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Waiting Technician Assigned"/>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="6dp"
- android:background="#CCCCCC"/>
- <LinearLayout
- android:padding="0dp"
- android:layout_marginTop="10dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:textSize="13sp"
- android:paddingLeft="15dp"
- android:textColor="@android:color/black"
- android:text="Status"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="bottom"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_marginBottom="20dp"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/tv_status_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="15dp"
- android:text="Last update : Today, 16:00"
- android:textColor="@color/half_black"
- android:textSize="12sp" />
- </LinearLayout>
- <TextView
- android:id="@+id/tv_status"
- android:layout_marginBottom="10dp"
- android:layout_width="wrap_content"
- android:layout_height="27dp"
- android:background="@drawable/bg_date"
- android:paddingStart="6dp"
- android:paddingTop="10dp"
- android:paddingEnd="6dp"
- android:paddingBottom="0dp"
- android:textStyle="bold"
- android:text="Done"
- android:textSize="12sp"
- android:textColor="@color/cyan_600"/>
- </LinearLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#CCCCCC"/>
- <Button
- android:id="@+id/btn_set_uptime"
- android:layout_marginStart="56dp"
- android:layout_marginEnd="56dp"
- android:layout_marginTop="10dp"
- android:textColor="@android:color/white"
- android:background="@drawable/btn_cyan"
- android:textAllCaps="false"
- android:textSize="14sp"
- android:text="Asset Condition"
- android:layout_width="match_parent"
- android:layout_height="40dp" />
- <Button
- android:layout_marginTop="16dp"
- android:id="@+id/btn_status"
- android:layout_marginStart="56dp"
- android:layout_marginEnd="56dp"
- android:layout_marginBottom="10dp"
- android:textColor="@android:color/white"
- android:background="@drawable/btn_cyan"
- android:textAllCaps="false"
- android:textSize="14sp"
- android:text="Complete"
- android:layout_width="match_parent"
- android:layout_height="40dp" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#CCCCCC"/>
- <!--<TextView-->
- <!--android:id="@+id/btn_timeline"-->
- <!--android:padding="16dp"-->
- <!--android:drawableEnd="@drawable/dropdownblack"-->
- <!--android:textSize="14sp"-->
- <!--android:textColor="@android:color/black"-->
- <!--android:text="Timeline"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="wrap_content" />-->
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#CCCCCC"/>
- <LinearLayout
- android:id="@+id/container_post_timeline"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:background="@color/grey_200"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <!--<ImageView-->
- <!--android:id="@+id/btn_camera"-->
- <!--android:padding="16dp"-->
- <!--android:src="@drawable/camera104"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content" />-->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="10dp"
- android:layout_marginTop="10dp"
- android:background="@color/grey_200">
- <LinearLayout
- android:layout_width="330dp"
- android:layout_marginStart="15dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:background="@android:color/white"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <EditText
- android:id="@+id/ed_timeline"
- android:inputType="text"
- android:imeOptions="actionDone"
- android:layout_weight="1"
- android:textSize="14sp"
- android:paddingLeft="10dp"
- android:background="@android:color/transparent"
- android:textColor="@android:color/black"
- android:hint="Type message..."
- android:layout_width="0dp"
- android:layout_height="match_parent" />
- <ImageView
- android:id="@+id/btn_camera"
- android:padding="7dp"
- android:src="@drawable/ic_camera_alt_black_24dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <Button
- android:id="@+id/btn_post"
- android:layout_marginStart="9dp"
- android:paddingStart="10dp"
- android:layout_marginEnd="0dp"
- android:textColor="@android:color/white"
- android:drawableStart="@drawable/ic_send_white"
- android:background="@drawable/btn_send_cyan"
- android:layout_width="45dp"
- android:layout_height="match_parent" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <android.support.v7.widget.RecyclerView
- android:background="@color/grey_200"
- android:paddingTop="5dp"
- android:id="@+id/recycler_view_timeline"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- </FrameLayout>
- </FrameLayout>
- <!--tampilan image urgency-->
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_alignParentBottom="true"
- android:layout_marginEnd="18dp"
- android:layout_marginBottom="0dp"
- android:gravity="center"
- android:orientation="vertical"
- android:paddingTop="20dp"
- app:layout_anchor="@+id/rv_viewpager"
- app:layout_anchorGravity="bottom|right|end">
- <ImageView
- android:id="@+id/img_urgency"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/urg"
- app:layout_anchor="@+id/rv_viewpager"
- app:layout_anchorGravity="bottom|end" />
- <TextView
- android:id="@+id/tv_urgency"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Urgency"
- android:textColor="@color/white60"
- android:textSize="12sp" />
- </LinearLayout>
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement