2016-07-02 23:58:57 +02:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:context="info.nightscout.androidaps.plugins.Careportal.CareportalFragment">
|
|
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2017-05-25 20:18:29 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-02 23:58:57 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-05-25 20:18:29 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/careportal_stats_fragment"
|
|
|
|
layout_width="match_parent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<android.support.v7.widget.GridLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:padding="10dip"
|
|
|
|
app:columnCount="3">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_bgcheck"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_bgcheck"
|
|
|
|
app:layout_column="0"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="0" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_exercise"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_exercise"
|
|
|
|
app:layout_column="1"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="0" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_note"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_note"
|
|
|
|
app:layout_column="2"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="0" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_snackbolus"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_snackbolus"
|
|
|
|
app:layout_column="0"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="1" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_mealbolus"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_mealbolus"
|
|
|
|
app:layout_column="1"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="1" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_correctionbolus"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_correctionbolus"
|
|
|
|
app:layout_column="2"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="1" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_carbscorrection"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_carbscorrection"
|
|
|
|
app:layout_column="0"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="2" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_combobolus"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_combobolus"
|
|
|
|
app:layout_column="1"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="2" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_tempbasalstart"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_tempbasalstart"
|
|
|
|
app:layout_column="2"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="2" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_tempbasalend"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_tempbasalend"
|
|
|
|
app:layout_column="0"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="3" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_announcement"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_announcement"
|
|
|
|
app:layout_column="1"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="3" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_question"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_question"
|
|
|
|
app:layout_column="2"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="3" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_pumpsitechange"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_pumpsitechange"
|
|
|
|
app:layout_column="0"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="4" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_cgmsensorinsert"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_cgmsensorinsert"
|
|
|
|
app:layout_column="1"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="4" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_cgmsensorstart"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_cgmsensorstart"
|
|
|
|
app:layout_column="2"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="4" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_insulincartridgechange"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_insulincartridgechange"
|
|
|
|
app:layout_column="0"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="5" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_profileswitch"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_profileswitch"
|
|
|
|
app:layout_column="1"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="5" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_openapsoffline"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_openapsoffline"
|
|
|
|
app:layout_column="2"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="5" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_temporarytarget"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="70dp"
|
|
|
|
android:text="@string/careportal_temporarytarget"
|
|
|
|
app:layout_column="0"
|
|
|
|
app:layout_columnWeight="1"
|
|
|
|
app:layout_gravity="fill"
|
|
|
|
app:layout_row="6" />
|
|
|
|
|
|
|
|
</android.support.v7.widget.GridLayout>
|
|
|
|
</LinearLayout>
|
2016-07-02 23:58:57 +02:00
|
|
|
</ScrollView>
|
|
|
|
</FrameLayout>
|