389 lines
15 KiB
XML
389 lines
15 KiB
XML
<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"
|
|
android:paddingTop="2dp"
|
|
tools:context="info.nightscout.androidaps.plugins.Loop.LoopFragment">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:id="@+id/loop_run"
|
|
style="?android:attr/buttonStyle"
|
|
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: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_lastrun_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_lastrun"
|
|
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/openapsma_lastenact_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_lastenact"
|
|
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_aps_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_source"
|
|
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/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" />
|
|
|
|
<TextView
|
|
android:id="@+id/loop_request"
|
|
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_constraintsprocessed_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_constraintsprocessed"
|
|
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/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>
|
|
|
|
<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_tbrsetbypump_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_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"
|
|
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>
|
|
|
|
</ScrollView>
|
|
|
|
</FrameLayout>
|