2021-02-04 10:06:19 +01:00
|
|
|
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-05-25 20:18:29 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:stretchColumns="0,2,4"
|
2020-10-18 16:52:05 +02:00
|
|
|
tools:context=".plugins.general.actions.ActionsFragment">
|
2017-05-25 20:18:29 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
<TableRow
|
2020-10-18 16:52:05 +02:00
|
|
|
android:layout_width="fill_parent"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:focusable="true">
|
2021-02-04 10:06:19 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="15dp"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:text="@string/careportal_sensor_label"
|
|
|
|
android:textSize="14sp"
|
|
|
|
app:drawableStartCompat="@drawable/ic_cp_age_sensor" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sensor_age_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:text="@string/careportal_age_label"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sensor_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:paddingEnd="2dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sensor_level_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:text="@string/careportal_level_label"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sensor_level"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:textSize="14sp"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2017-05-25 20:18:29 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
<View
|
2017-05-25 20:18:29 +02:00
|
|
|
android:layout_width="fill_parent"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_height="2dip"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_marginTop="2dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginEnd="20dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:layout_span="5"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
2017-05-25 20:18:29 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
</TableRow>
|
2020-10-18 16:52:05 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:focusable="true">
|
2021-02-04 10:06:19 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="15dp"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:text="@string/careportal_insulin_label"
|
|
|
|
android:textSize="14sp"
|
|
|
|
app:drawableStartCompat="@drawable/ic_cp_age_insulin" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/insulin_age_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:text="@string/careportal_age_label"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/insulin_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:paddingEnd="2dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/insulin_level_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:text="@string/careportal_level_label"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/reservoir_level"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:textSize="14sp"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2020-10-18 16:52:05 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
<View
|
2020-10-18 16:52:05 +02:00
|
|
|
android:layout_width="fill_parent"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_height="2dip"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_marginTop="2dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginEnd="20dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:layout_span="5"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
2017-05-25 20:18:29 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
</TableRow>
|
2020-10-18 16:52:05 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:focusable="true">
|
2021-02-04 10:06:19 +01:00
|
|
|
|
|
|
|
<TextView
|
2022-02-09 09:06:31 +01:00
|
|
|
android:id="@+id/cannula_or_patch"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="15dp"
|
|
|
|
android:paddingEnd="2dp"
|
2021-02-04 12:03:34 +01:00
|
|
|
android:text="@string/cannula"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:textSize="14sp"
|
2021-02-04 12:03:34 +01:00
|
|
|
app:drawableStartCompat="@drawable/ic_cp_age_cannula" />
|
2021-02-04 10:06:19 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cannula_age_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:text="@string/careportal_age_label"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cannula_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:paddingEnd="2dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
2022-03-11 14:48:48 +01:00
|
|
|
android:id="@+id/cannula_placeholder"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:text=""
|
|
|
|
android:textSize="14sp"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2020-10-18 16:52:05 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
<View
|
2020-10-18 16:52:05 +02:00
|
|
|
android:layout_width="fill_parent"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_height="2dip"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_marginTop="2dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginEnd="20dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:layout_span="5"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
2020-10-18 16:52:05 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
</TableRow>
|
2017-05-25 20:18:29 +02:00
|
|
|
|
2021-02-04 10:06:19 +01:00
|
|
|
<TableRow
|
2022-02-15 14:16:51 +01:00
|
|
|
android:id="@+id/battery_layout"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:layout_width="fill_parent"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:focusable="true">
|
2021-02-04 10:06:19 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pb_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="15dp"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:text="@string/careportal_pb_label"
|
|
|
|
android:textSize="14sp"
|
|
|
|
app:drawableStartCompat="@drawable/ic_cp_age_battery" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pb_age_label"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:text="@string/careportal_age_label"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pb_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:paddingEnd="2dp"
|
2021-02-04 10:06:19 +01:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pb_level_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:text="@string/careportal_level_label"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/battery_level"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:textSize="14sp"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
</TableLayout>
|