AndroidAPS/app/src/main/res/layout/loop_fragment.xml

519 lines
18 KiB
XML
Raw Normal View History

2021-01-24 14:19:25 +01:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2016-06-19 13:17:16 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-06-08 19:06:16 +02:00
android:paddingTop="2dp"
2019-02-28 23:16:50 +01:00
tools:context=".plugins.aps.loop.LoopFragment">
2016-06-19 13:17:16 +02:00
2021-01-24 14:19:25 +01:00
<LinearLayout
2016-06-19 13:17:16 +02:00
android:layout_width="match_parent"
2021-01-24 14:19:25 +01:00
android:layout_height="wrap_content"
android:orientation="vertical">
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
style="@style/GrayButton"
2021-01-24 14:19:25 +01:00
android:id="@+id/run"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/openapsma_run" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/openapsma_lastrun_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/lastrun"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
android:orientation="horizontal"
android:screenReaderFocusable="true">
2021-01-24 14:19:25 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/loop_aps_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/source"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2016-06-19 13:17:16 +02:00
<LinearLayout
android:layout_width="match_parent"
2017-06-13 20:48:53 +02:00
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
2017-06-13 20:48:53 +02:00
2021-01-24 14:19:25 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/openapsma_request_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/request"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/loop_constraintsprocessed_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/constraintsprocessed"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/constraints"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/constraints"
2016-06-19 13:17:16 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
2017-06-13 20:48:53 +02:00
2021-01-24 14:19:25 +01:00
<TextView
2016-06-19 13:17:16 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/loop_tbrrequest_time_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/tbrrequest_time"
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
<TextView
2016-06-19 13:17:16 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/loop_tbrexecution_time_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/tbrexecution_time"
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
<TextView
2016-06-19 13:17:16 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/loop_tbrsetbypump_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/tbrsetbypump"
2018-03-23 18:23:19 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/loop_smbrequest_time_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/smbrequest_time"
2020-02-02 22:12:54 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
<TextView
2016-06-19 13:17:16 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/loop_smbexecution_time_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/smbexecution_time"
2020-02-02 22:12:54 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
2021-01-24 14:19:25 +01:00
android:orientation="horizontal">
<TextView
2020-02-02 22:12:54 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="2"
android:gravity="end"
android:paddingEnd="5dp"
android:text="@string/loop_smbsetbypump_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/smbsetbypump"
2018-03-15 18:30:18 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-01-24 14:19:25 +01:00
android:layout_weight="1"
android:gravity="start"
android:paddingStart="5dp"
android:textSize="14sp" />
2017-06-13 20:48:53 +02:00
2016-06-19 13:17:16 +02:00
</LinearLayout>
2021-01-24 14:19:25 +01:00
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginStart="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
2021-01-24 14:19:25 +01:00
android:layout_marginBottom="5dp"
android:background="?android:attr/dividerHorizontal" />
2021-01-24 14:19:25 +01:00
</LinearLayout>
2016-06-19 13:17:16 +02:00
2021-01-24 14:19:25 +01:00
</ScrollView>