2017-05-12 15:26:16 +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="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context="info.nightscout.androidaps.plugins.Overview.OverviewFragment">
|
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<ScrollView
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-07-02 11:28:03 +02:00
|
|
|
android:layout_height="match_parent">
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<LinearLayout
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/overview_notifications"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_height="wrap_content">
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
</android.support.v7.widget.RecyclerView>
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/overview_looplayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="2dp">
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_apsmode"
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_height="match_parent"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:text="Open Loop"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_activeprofile"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:text="Profile"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_temptarget"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:text="TempTarget"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/mdtp_white" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
</LinearLayout>
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/overview_pumpstatuslayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="2dp">
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_pumpstatus"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:text="@string/initializing"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</LinearLayout>
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="horizontal">
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_bg"
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_gravity="top|left"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="00.0"
|
|
|
|
android:textSize="70dp"
|
|
|
|
android:textStyle="bold" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_arrow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top|left"
|
|
|
|
android:layout_marginTop="-15dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingLeft="-5dp"
|
|
|
|
android:paddingRight="-5dp"
|
|
|
|
android:text="→"
|
|
|
|
android:textSize="70dp"
|
|
|
|
android:textStyle="bold" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:gravity="top"
|
|
|
|
android:orientation="vertical">
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-07-02 11:28:03 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_timeago"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_delta"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-07-02 11:28:03 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="10dp"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_weight="0.5"
|
2017-07-02 11:28:03 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
|
|
|
<TextView
|
2017-06-20 19:56:25 +02:00
|
|
|
android:id="@+id/overview_avgdelta"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
|
2017-05-12 15:26:16 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/overview_basallayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2017-05-12 15:26:16 +02:00
|
|
|
<TextView
|
2017-06-20 19:56:25 +02:00
|
|
|
android:id="@+id/overview_runningtemp"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_gravity="right"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textStyle="normal|bold" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_basebasal"
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_gravity="left"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
</LinearLayout>
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 20:30:50 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 20:30:50 +02:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="5dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/iob"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
2017-07-02 11:28:03 +02:00
|
|
|
android:text=":" />
|
2017-06-20 20:30:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_iob"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:text=""
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:text="@string/cob" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:text=":" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_cob"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:text="23 g" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="5dp">
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_showprediction_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:text="@string/predictionshortlabel"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/prediction"
|
|
|
|
android:textStyle="bold" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/overview_showprediction"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="-5dp"
|
|
|
|
android:layout_marginTop="-9dp"
|
|
|
|
app:buttonTint="@color/prediction" />
|
2017-06-16 14:37:43 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:text="@string/basalshortlabel"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/basal"
|
|
|
|
android:textStyle="bold" />
|
2017-06-16 14:37:43 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/overview_showbasals"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="-5dp"
|
|
|
|
android:layout_marginTop="-9dp"
|
|
|
|
app:buttonTint="@color/basal" />
|
2017-06-16 14:37:43 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:text="@string/iob"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/iob"
|
|
|
|
android:textStyle="bold" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/overview_showiob"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="-5dp"
|
|
|
|
android:layout_marginTop="-9dp"
|
|
|
|
app:buttonTint="@color/iob" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:text="@string/cob"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/cob"
|
|
|
|
android:textStyle="bold" />
|
2017-06-05 15:16:07 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/overview_showcob"
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_marginBottom="-5dp"
|
|
|
|
android:layout_marginTop="-9dp"
|
|
|
|
app:buttonTint="@color/cob" />
|
2017-06-05 15:16:07 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:text="@string/dev"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/deviations"
|
|
|
|
android:textStyle="bold" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/overview_showdeviations"
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_marginBottom="-5dp"
|
|
|
|
android:layout_marginTop="-9dp"
|
|
|
|
app:buttonTint="@color/deviations" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 20:01:09 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 20:01:09 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:text="@string/ratio_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textStyle="bold" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 20:01:09 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/overview_showratios"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="-5dp"
|
|
|
|
android:layout_marginTop="-9dp" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.jjoe64.graphview.GraphView
|
|
|
|
android:id="@+id/overview_bggraph"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="160dip" />
|
|
|
|
|
|
|
|
<com.jjoe64.graphview.GraphView
|
|
|
|
android:id="@+id/overview_iobgraph"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="100dp" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/overview_accepttemplayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/overview_accepttempbutton"
|
|
|
|
style="?android:attr/buttonStyle"
|
|
|
|
android:layout_width="fill_parent"
|
2017-05-12 15:26:16 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-20 19:56:25 +02:00
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:text="Accept new temp\n0.25U/h"
|
|
|
|
android:textColor="@color/colorAcceptTempButton" />
|
|
|
|
</LinearLayout>
|
2017-05-12 15:26:16 +02:00
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/overview_treatmentbutton"
|
|
|
|
style="?android:attr/buttonStyle"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginRight="-4dp"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:drawableTop="@drawable/icon_bolus"
|
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:text="@string/overview_bolus_label"
|
|
|
|
android:textColor="@color/colorTreatmentButton"
|
|
|
|
android:textSize="10sp" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/overview_wizardbutton"
|
|
|
|
style="?android:attr/buttonStyle"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginRight="-4dp"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:drawableTop="@drawable/icon_calculator"
|
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:text="@string/overview_calculator_label"
|
|
|
|
android:textColor="@color/colorCalculatorButton"
|
2017-06-30 17:50:30 +02:00
|
|
|
android:textSize="10sp"
|
|
|
|
android:visibility="gone" />
|
2017-06-20 19:56:25 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/overview_calibrationbutton"
|
|
|
|
style="?android:attr/buttonStyle"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginRight="-4dp"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:drawableTop="@drawable/icon_calibration"
|
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:text="@string/overview_calibration"
|
|
|
|
android:textColor="@color/colorCalibrationButton"
|
2017-06-30 17:50:30 +02:00
|
|
|
android:textSize="10sp"
|
|
|
|
android:visibility="gone" />
|
2017-06-20 19:56:25 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/overview_quickwizardbutton"
|
|
|
|
style="?android:attr/buttonStyle"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginRight="-4dp"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:drawableTop="@drawable/icon_quickwizard"
|
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:text="Quick wizard"
|
|
|
|
android:textColor="@color/colorQuickWizardButton"
|
2017-06-30 17:50:30 +02:00
|
|
|
android:textSize="10sp"
|
|
|
|
android:visibility="gone" />
|
2017-06-20 19:56:25 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/overview_canceltempbutton"
|
|
|
|
style="?android:attr/buttonStyle"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:drawableTop="@drawable/icon_cancelbasal"
|
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:text="Cancel temp basal"
|
|
|
|
android:textColor="@color/colorCancelTempButton"
|
2017-06-30 17:50:30 +02:00
|
|
|
android:textSize="10sp"
|
|
|
|
android:visibility="gone" />
|
2017-05-12 15:26:16 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-06-20 19:56:25 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
2017-05-12 15:26:16 +02:00
|
|
|
</FrameLayout>
|