2016-06-07 23:36:22 +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.Overview.OverviewFragment">
|
|
|
|
|
|
|
|
|
2016-06-09 00:01:28 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2016-06-09 00:01:28 +02:00
|
|
|
|
2016-06-12 13:30:34 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-06-12 13:30:34 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_bg"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left|top"
|
2016-06-20 22:55:49 +02:00
|
|
|
android:textSize="80dp"
|
|
|
|
android:textStyle="bold" />
|
2016-06-12 13:30:34 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="top"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:orientation="vertical">
|
2016-06-12 13:30:34 +02:00
|
|
|
|
|
|
|
<TextView
|
2016-06-20 20:45:55 +02:00
|
|
|
android:id="@+id/overview_timeago"
|
2016-06-12 13:30:34 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
2016-06-12 13:30:34 +02:00
|
|
|
|
|
|
|
<TextView
|
2016-06-20 20:45:55 +02:00
|
|
|
android:id="@+id/overview_delta"
|
2016-06-12 13:30:34 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
2016-06-24 23:17:46 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_runningtemp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_iob"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-12 13:30:34 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2016-06-09 00:01:28 +02:00
|
|
|
|
|
|
|
<com.jjoe64.graphview.GraphView
|
|
|
|
android:id="@+id/overview_bggraph"
|
|
|
|
android:layout_width="match_parent"
|
2016-06-24 17:16:17 +02:00
|
|
|
android:layout_height="160dip" />
|
2016-06-19 20:06:00 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2016-06-20 20:45:55 +02:00
|
|
|
android:id="@+id/overview_canceltemplayout"
|
2016-06-19 20:06:00 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-06-19 20:06:00 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/overview_canceltemp"
|
2016-06-25 00:09:52 +02:00
|
|
|
style="?android:attr/buttonStyle"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-19 20:06:00 +02:00
|
|
|
android:layout_margin="10dp"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_weight="0.5"
|
2016-06-24 23:20:38 +02:00
|
|
|
android:textColor="@color/colorCancelTempButton"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:text="Cancel temp basal" />
|
2016-06-19 20:06:00 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-06-20 20:45:55 +02:00
|
|
|
android:id="@+id/overview_settemplayout"
|
2016-06-19 20:06:00 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-06-19 20:06:00 +02:00
|
|
|
|
|
|
|
<Button
|
2016-06-20 20:45:55 +02:00
|
|
|
android:id="@+id/overview_settempbasal"
|
2016-06-25 00:09:52 +02:00
|
|
|
style="?android:attr/buttonStyle"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_width="fill_parent"
|
2016-06-19 20:06:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="10dp"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_weight="0.5"
|
2016-06-24 23:20:38 +02:00
|
|
|
android:textColor="@color/colorSetTempButton"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:text="TempBasal" />
|
2016-06-19 20:06:00 +02:00
|
|
|
|
|
|
|
<Button
|
2016-06-20 20:45:55 +02:00
|
|
|
android:id="@+id/overview_extendedbolus"
|
2016-06-25 00:09:52 +02:00
|
|
|
style="?android:attr/buttonStyle"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_width="fill_parent"
|
2016-06-19 20:06:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_weight="0.5"
|
2016-06-24 23:20:38 +02:00
|
|
|
android:textColor="@color/colorSetExtendedButton"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:text="Extended Bolus" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/overview_treatment"
|
2016-06-25 00:09:52 +02:00
|
|
|
style="?android:attr/buttonStyle"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_weight="0.5"
|
2016-06-24 23:20:38 +02:00
|
|
|
android:textColor="@color/colorTreatmentButton"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:text="@string/overview_treatment_label" />
|
|
|
|
|
|
|
|
<Button
|
2016-06-19 20:06:00 +02:00
|
|
|
android:id="@+id/overview_wizard"
|
2016-06-25 00:09:52 +02:00
|
|
|
style="?android:attr/buttonStyle"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-19 20:06:00 +02:00
|
|
|
android:layout_margin="10dp"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:layout_weight="0.5"
|
2016-06-24 23:20:38 +02:00
|
|
|
android:textColor="@color/colorWizardButton"
|
2016-06-20 20:45:55 +02:00
|
|
|
android:text="@string/overview_calculator_label" />
|
2016-06-19 20:06:00 +02:00
|
|
|
</LinearLayout>
|
2016-06-20 20:45:55 +02:00
|
|
|
|
|
|
|
|
2016-06-09 00:01:28 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2016-06-07 23:36:22 +02:00
|
|
|
</FrameLayout>
|