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

112 lines
4.8 KiB
XML
Raw Normal View History

2016-11-05 15:46:11 +01: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.Actions.ActionsFragment">
2017-02-20 13:10:07 +01:00
<ScrollView
2017-02-20 13:31:47 +01:00
android:layout_width="match_parent"
2017-02-20 13:10:07 +01:00
android:layout_height="wrap_content">
2017-06-10 22:04:59 +02:00
<LinearLayout
android:layout_width="match_parent"
2016-11-05 15:46:11 +01:00
android:layout_height="wrap_content"
2017-06-10 22:04:59 +02:00
android:orientation="vertical">
2016-11-05 15:46:11 +01:00
2017-06-10 22:04:59 +02:00
<Button
android:id="@+id/actions_profileswitch"
style="?android:attr/buttonStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="3dp"
android:layout_weight="0.5"
android:drawableTop="@drawable/icon_actions_profileswitch"
2017-07-21 22:24:06 +02:00
android:text="@string/careportal_profileswitch" />
2017-06-10 22:04:59 +02:00
<Button
android:id="@+id/actions_temptarget"
style="?android:attr/buttonStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="3dp"
android:layout_weight="0.5"
android:drawableTop="@drawable/icon_actions_temptarget"
2017-07-21 22:24:06 +02:00
android:text="@string/careportal_temporarytarget" />
2017-06-10 22:04:59 +02:00
<Button
android:id="@+id/actions_settempbasal"
style="?android:attr/buttonStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="3dp"
android:layout_weight="0.5"
android:drawableTop="@drawable/icon_actions_starttempbasal"
2017-07-21 22:24:06 +02:00
android:text="@string/overview_tempbasal_button" />
2017-08-01 20:45:57 +02:00
<Button
android:id="@+id/actions_canceltempbasal"
style="?android:attr/buttonStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="3dp"
android:layout_weight="0.5"
android:drawableTop="@drawable/icon_cancelbasal"
android:text="Cancel temp basal" />
2017-06-10 22:04:59 +02:00
<Button
android:id="@+id/actions_extendedbolus"
style="?android:attr/buttonStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="3dp"
android:layout_weight="0.5"
android:drawableTop="@drawable/icon_actions_startextbolus"
android:text="@string/overview_extendedbolus_button" />
2017-05-24 20:37:58 +02:00
2017-06-10 22:04:59 +02:00
<Button
android:id="@+id/actions_extendedbolus_cancel"
style="?android:attr/buttonStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="3dp"
android:layout_weight="0.5"
android:drawableTop="@drawable/icon_actions_cancelextbolus"
2017-07-21 22:24:06 +02:00
android:text="@string/overview_extendedbolus_cancel_button" />
2016-11-11 00:54:10 +01:00
2017-06-10 22:04:59 +02:00
<Button
android:id="@+id/actions_fill"
style="?android:attr/buttonStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="3dp"
android:layout_weight="0.5"
android:drawableTop="@drawable/icon_actions_refill"
2017-07-21 22:24:06 +02:00
android:text="@string/primefill" />
2017-05-09 10:46:04 +02:00
2017-06-10 22:04:59 +02:00
</LinearLayout>
2017-05-09 10:46:04 +02:00
2017-02-20 13:10:07 +01:00
</ScrollView>
2016-11-05 15:46:11 +01:00
</FrameLayout>