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

139 lines
6.3 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"
2019-02-28 23:16:50 +01:00
tools:context=".plugins.general.actions.ActionsFragment">
2016-11-05 15:46:11 +01:00
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:id="@+id/action_buttons_layout"
2017-06-10 22:04:59 +02:00
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
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2017-06-10 22:04:59 +02:00
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" />
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2017-06-10 22:04:59 +02:00
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" />
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2017-06-10 22:04:59 +02:00
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" />
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2017-08-01 20:45:57 +02:00
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" />
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2017-06-10 22:04:59 +02:00
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
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2017-06-10 22:04:59 +02:00
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
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2017-06-10 22:04:59 +02:00
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"
2018-03-23 22:09:09 +01:00
android:drawableTop="@drawable/icon_cp_pump_canula"
2017-07-21 22:24:06 +02:00
android:text="@string/primefill" />
2017-05-09 10:46:04 +02:00
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2018-03-15 23:46:34 +01:00
android:id="@+id/actions_historybrowser"
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_danarhistory"
android:text="@string/nav_historybrowser" />
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.SingleClickButton
2018-03-15 23:46:34 +01:00
android:id="@+id/actions_tddstats"
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_danarstats"
android:text="@string/danar_stats_tdd" />
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>