2020-05-03 00:32:26 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-10-19 19:24:33 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-02-04 12:03:34 +01:00
|
|
|
android:id="@+id/status_lights"
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginBottom="3dp"
|
2020-10-19 19:24:33 +02:00
|
|
|
android:background="?attr/colorControlHighlight"
|
2020-05-03 00:32:26 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingBottom="4dp">
|
|
|
|
|
2022-01-19 17:21:59 +01:00
|
|
|
<LinearLayout
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2022-01-19 17:21:59 +01:00
|
|
|
android:focusable="true">
|
2020-05-03 00:32:26 +02:00
|
|
|
|
2022-01-19 17:21:59 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/cannula_or_patch"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:contentDescription="@string/statuslights_cannula_age"
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
app:srcCompat="@drawable/ic_cp_age_cannula" />
|
2020-05-03 00:32:26 +02:00
|
|
|
|
2022-01-19 17:21:59 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/cannula_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_width="wrap_content"
|
2022-01-19 17:21:59 +01:00
|
|
|
android:layout_height="fill_parent"
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_weight="1"
|
2022-01-19 17:21:59 +01:00
|
|
|
android:focusable="true">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:contentDescription="@string/a11y_insulin_label"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
android:scaleX="1.8"
|
|
|
|
android:scaleY="1.8"
|
|
|
|
app:srcCompat="@drawable/ic_cp_age_insulin" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/insulin_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/reservoir_level"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_width="wrap_content"
|
2022-01-19 17:21:59 +01:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:focusable="true">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:contentDescription="@string/careportal_sensor_label"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
app:srcCompat="@drawable/ic_cp_age_sensor" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sensor_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-05-03 00:32:26 +02:00
|
|
|
|
2022-01-19 17:21:59 +01:00
|
|
|
<LinearLayout
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_width="wrap_content"
|
2022-01-19 17:21:59 +01:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:focusable="true">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/battery_label"
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
app:srcCompat="@drawable/ic_cp_age_battery" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pb_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="1dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/battery_level"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-05-03 00:32:26 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|