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

389 lines
15 KiB
XML
Raw Normal View History

2016-06-19 13:17:16 +02:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
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
<ScrollView
android:layout_width="match_parent"
2017-06-13 20:48:53 +02:00
android:layout_height="match_parent">
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:orientation="vertical">
2016-06-19 13:17:16 +02:00
<Button
android:id="@+id/loop_run"
2016-06-25 00:09:52 +02:00
style="?android:attr/buttonStyle"
2016-06-19 13:17:16 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/openapsma_run" />
2017-06-13 20:48:53 +02:00
2016-06-19 13:17:16 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:orientation="horizontal">
2016-06-19 13:17:16 +02:00
<TextView
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="2"
android:gravity="end"
android:paddingRight="5dp"
2016-06-19 13:17:16 +02:00
android:text="@string/openapsma_lastrun_label"
2017-06-13 20:48:53 +02:00
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
<TextView
android:id="@+id/loop_lastrun"
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="2"
android:gravity="end"
android:paddingRight="5dp"
2016-06-19 13:17:16 +02:00
android:text="@string/openapsma_lastenact_label"
2017-06-13 20:48:53 +02:00
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
<TextView
android:id="@+id/loop_lastenact"
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
</LinearLayout>
2017-06-13 20:48:53 +02:00
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
2016-06-19 13:17:16 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:orientation="horizontal">
2016-06-19 13:17:16 +02:00
<TextView
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="2"
android:gravity="end"
android:paddingRight="5dp"
2016-06-19 13:17:16 +02:00
android:text="@string/loop_aps_label"
2017-06-13 20:48:53 +02:00
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
<TextView
android:id="@+id/loop_source"
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingRight="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:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
<TextView
android:id="@+id/loop_request"
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
</LinearLayout>
2017-06-13 20:48:53 +02:00
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
2016-06-19 13:17:16 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:orientation="horizontal">
2016-06-19 13:17:16 +02:00
<TextView
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="2"
android:gravity="end"
android:paddingRight="5dp"
2016-06-20 20:45:55 +02:00
android:text="@string/loop_constraintsprocessed_label"
2017-06-13 20:48:53 +02:00
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
<TextView
2016-06-20 20:45:55 +02:00
android:id="@+id/loop_constraintsprocessed"
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
</LinearLayout>
2018-03-23 18:23:19 +01:00
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingRight="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:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/loop_constraints"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
2017-06-13 20:48:53 +02:00
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
<LinearLayout
2016-06-19 13:17:16 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:orientation="horizontal">
2016-06-19 13:17:16 +02:00
<TextView
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="2"
android:gravity="end"
android:paddingRight="5dp"
2018-03-15 18:30:18 +01:00
android:text="@string/loop_tbrsetbypump_label"
2017-06-13 20:48:53 +02:00
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
<TextView
2018-03-15 18:30:18 +01:00
android:id="@+id/loop_tbrsetbypump"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="end"
android:paddingRight="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:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/loop_smbsetbypump"
2017-06-13 20:48:53 +02:00
android:layout_width="match_parent"
2016-06-19 13:17:16 +02:00
android:layout_height="wrap_content"
2017-06-13 20:48:53 +02:00
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
2016-06-19 13:17:16 +02:00
</LinearLayout>
2017-06-13 20:48:53 +02:00
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
2016-06-19 13:17:16 +02:00
</LinearLayout>
2017-06-13 20:48:53 +02:00
</ScrollView>
2016-06-19 13:17:16 +02:00
</FrameLayout>