130 lines
4.8 KiB
XML
130 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.google.android.material.card.MaterialCardView
|
|
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"
|
|
style="@style/Widget.MaterialComponents.CardView"
|
|
android:id="@+id/careportal_card"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="4dp"
|
|
android:layout_marginBottom="4dp"
|
|
app:cardCornerRadius="4dp"
|
|
app:contentPadding="2dp"
|
|
android:layout_gravity="center">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/date"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:background="?android:attr/dividerHorizontal"
|
|
android:gravity="center"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
tools:text="1.1.2000" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:baselineAligned="true"
|
|
android:orientation="horizontal">
|
|
|
|
<com.joanzapata.iconify.widget.IconTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical|end"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="5dp"
|
|
tools:text="{fa-clock-o}" />
|
|
|
|
<TextView
|
|
android:id="@+id/time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingEnd="10dp"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
tools:ignore="RtlSymmetry"
|
|
tools:text="18:00" />
|
|
|
|
<TextView
|
|
android:id="@+id/type"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:paddingEnd="10dp"
|
|
android:text=""
|
|
android:textStyle="bold"
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_weight="1"
|
|
android:text="" />
|
|
|
|
<TextView
|
|
android:id="@+id/ns"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="10dp"
|
|
android:textColor="?attr/setTempButton"
|
|
tools:text="NS" />
|
|
|
|
<TextView
|
|
android:id="@+id/invalid"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp"
|
|
android:text="@string/invalid"
|
|
android:textColor="?attr/alarmColor" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/duration"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp"
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
<TextView
|
|
android:id="@+id/note"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:paddingEnd="10dp"
|
|
tools:ignore="RtlSymmetry"
|
|
tools:text="Activity" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_remove"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="19dp"
|
|
android:contentDescription="@string/select_for_removal"
|
|
android:minWidth="0dp"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|