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.OpenAPSMA.OpenAPSMAFragment">
|
|
|
|
|
2016-06-11 22:21:44 +02:00
|
|
|
<ScrollView
|
2016-06-10 18:50:46 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dp">
|
2016-06-10 18:50:46 +02:00
|
|
|
|
2016-06-11 22:21:44 +02:00
|
|
|
<LinearLayout
|
2016-06-10 18:50:46 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2016-06-11 22:21:44 +02:00
|
|
|
|
2016-06-19 20:06:00 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
2016-06-11 22:21:44 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-06-19 20:06:00 +02:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/openapsma_run"
|
2016-06-25 00:09:52 +02:00
|
|
|
style="?android:attr/buttonStyle"
|
2016-06-19 20:06:00 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/openapsma_run" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_margin="10dp"
|
2016-06-19 13:17:16 +02:00
|
|
|
android:background="@color/linearBlockBackground"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:orientation="vertical">
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:text="@string/openapsma_lastrun_label"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2016-06-12 10:53:19 +02:00
|
|
|
|
2016-06-11 22:21:44 +02:00
|
|
|
<TextView
|
2016-06-12 10:53:19 +02:00
|
|
|
android:id="@+id/openapsma_lastrun"
|
2016-06-11 22:21:44 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-11 22:21:44 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_margin="10dp"
|
2016-06-19 13:17:16 +02:00
|
|
|
android:background="@color/linearBlockBackground"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:orientation="vertical">
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:text="@string/openapsma_inputparameters_label"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:text="@string/openapsma_glucosestatus_label"
|
2016-06-24 17:16:17 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:layout_marginLeft="5dp" />
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/openapsma_glucosestatus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:text="@string/openapsma_currenttemp_label"
|
2016-06-24 17:16:17 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:layout_marginLeft="5dp" />
|
2016-06-12 10:53:19 +02:00
|
|
|
|
2016-06-11 22:21:44 +02:00
|
|
|
<TextView
|
2016-06-12 10:53:19 +02:00
|
|
|
android:id="@+id/openapsma_currenttemp"
|
2016-06-11 22:21:44 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:text="@string/openapsma_iobdata_label"
|
2016-06-24 17:16:17 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:layout_marginLeft="5dp" />
|
2016-06-12 10:53:19 +02:00
|
|
|
|
2016-06-11 22:21:44 +02:00
|
|
|
<TextView
|
2016-06-12 10:53:19 +02:00
|
|
|
android:id="@+id/openapsma_iobdata"
|
2016-06-11 22:21:44 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:text="@string/openapsma_profile_label"
|
2016-06-24 17:16:17 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:layout_marginLeft="5dp" />
|
2016-06-12 10:53:19 +02:00
|
|
|
|
2016-06-11 22:21:44 +02:00
|
|
|
<TextView
|
2016-06-12 10:53:19 +02:00
|
|
|
android:id="@+id/openapsma_profile"
|
2016-06-11 22:21:44 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:text="@string/openapsma_mealdata_label"
|
2016-06-24 17:16:17 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:layout_marginLeft="5dp" />
|
2016-06-12 10:53:19 +02:00
|
|
|
|
|
|
|
<TextView
|
2016-06-11 22:21:44 +02:00
|
|
|
android:id="@+id/openapsma_mealdata"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-11 22:21:44 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_margin="10dp"
|
2016-06-19 13:17:16 +02:00
|
|
|
android:background="@color/linearBlockBackground"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:orientation="vertical">
|
2016-06-11 22:21:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:text="@string/openapsma_result_label"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2016-06-12 10:53:19 +02:00
|
|
|
|
2016-06-11 22:21:44 +02:00
|
|
|
<TextView
|
2016-06-12 10:53:19 +02:00
|
|
|
android:id="@+id/openapsma_result"
|
2016-06-11 22:21:44 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-11 22:21:44 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2016-06-12 10:53:19 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_margin="10dp"
|
2016-06-19 13:17:16 +02:00
|
|
|
android:background="@color/linearBlockBackground"
|
2016-06-12 10:53:19 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/openapsma_request_label"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2016-06-12 10:53:19 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/openapsma_request"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</LinearLayout>
|
2016-06-11 22:21:44 +02:00
|
|
|
</LinearLayout>
|
2016-06-12 10:53:19 +02:00
|
|
|
|
2016-06-11 22:21:44 +02:00
|
|
|
</ScrollView>
|
2016-06-10 18:50:46 +02:00
|
|
|
|
|
|
|
</FrameLayout>
|