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

132 lines
5.6 KiB
XML
Raw Normal View History

2016-06-10 18:50:46 +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.LowSuspend.LowSuspendFragment">
2016-06-14 23:45:55 +02:00
<ScrollView
2016-06-12 10:53:19 +02:00
android:layout_width="match_parent"
2016-06-14 23:45:55 +02:00
android:layout_height="match_parent">
2016-06-12 10:53:19 +02:00
<LinearLayout
android:layout_width="match_parent"
2016-06-14 23:45:55 +02:00
android:layout_height="match_parent"
2016-06-12 10:53:19 +02:00
android:orientation="vertical">
2016-06-14 23:45:55 +02:00
<Button
android:id="@+id/lowsuspend_run"
android:layout_width="match_parent"
2016-06-12 10:53:19 +02:00
android:layout_height="wrap_content"
2016-06-14 23:45:55 +02:00
android:text="@string/openapsma_run" />
2016-06-12 10:53:19 +02:00
2016-06-14 23:45:55 +02:00
<LinearLayout
android:layout_width="match_parent"
2016-06-12 10:53:19 +02:00
android:layout_height="wrap_content"
2016-06-14 23:45:55 +02:00
android:layout_gravity="center_horizontal"
android:layout_margin="10dp"
2016-06-19 13:17:16 +02:00
android:background="@color/linearBlockBackground"
2016-06-14 23:45:55 +02:00
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/openapsma_lastrun_label"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/lowsuspend_lastrun"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
2016-06-12 10:53:19 +02:00
android:layout_height="wrap_content"
2016-06-14 23:45:55 +02:00
android:layout_margin="10dp"
2016-06-19 13:17:16 +02:00
android:background="@color/linearBlockBackground"
2016-06-14 23:45:55 +02:00
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/openapsma_inputparameters_label"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/openapsma_glucosestatus_label"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/lowsuspend_glucosestatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/openapsma_minbg_label"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/lowsuspend_minbg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
2016-06-12 10:53:19 +02:00
android:layout_height="wrap_content"
2016-06-14 23:45:55 +02:00
android:layout_gravity="center_horizontal"
android:layout_margin="10dp"
2016-06-19 13:17:16 +02:00
android:background="@color/linearBlockBackground"
2016-06-14 23:45:55 +02:00
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/openapsma_result_label"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/lowsuspend_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
2016-06-12 10:53:19 +02:00
android:layout_height="wrap_content"
2016-06-14 23:45:55 +02:00
android:layout_gravity="center_horizontal"
android:layout_margin="10dp"
2016-06-19 13:17:16 +02:00
android:background="@color/linearBlockBackground"
2016-06-14 23:45:55 +02:00
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/openapsma_request_label"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/lowsuspend_request"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
2016-06-12 10:53:19 +02:00
</LinearLayout>
2016-06-14 23:45:55 +02:00
</ScrollView>
2016-06-10 18:50:46 +02:00
</FrameLayout>