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"
|
|
|
|
tools:context="info.nightscout.androidaps.plugins.Loop.LoopFragment">
|
|
|
|
|
|
|
|
<ScrollView
|
2017-06-13 20:48:53 +02:00
|
|
|
android:id="@+id/scrollView"
|
2016-06-19 13:17:16 +02:00
|
|
|
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>
|
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"
|
2016-06-19 13:17:16 +02:00
|
|
|
android:text="@string/loop_setbypump_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_setbypump"
|
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>
|