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

160 lines
6.7 KiB
XML
Raw Normal View History

2016-10-20 23:50:31 +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"
2019-04-08 15:38:20 +02:00
tools:context=".plugins.general.overview.dialogs.EditQuickWizardDialog">
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<ScrollView
2016-10-20 23:50:31 +02:00
android:layout_width="match_parent"
2017-12-26 01:22:35 +01:00
android:layout_height="match_parent">
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<LinearLayout
2016-10-20 23:50:31 +02:00
android:layout_width="match_parent"
2017-12-26 01:22:35 +01:00
android:layout_height="match_parent"
android:layout_margin="15dp"
android:orientation="vertical">
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_buttontext"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<EditText
android:id="@+id/overview_editquickwizard_button_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="text" />
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_carbs"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<EditText
android:id="@+id/overview_editquickwizard_carbs_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="numberDecimal" />
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_valid"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<LinearLayout
2016-10-20 23:50:31 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-12-26 01:22:35 +01:00
android:orientation="horizontal">
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<Spinner
android:id="@+id/overview_editquickwizard_from_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
<Spinner
android:id="@+id/overview_editquickwizard_to_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
<TextView
2016-10-20 23:50:31 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-12-26 01:22:35 +01:00
android:text="@string/overview_editquickwizard_usebg"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<Spinner
android:id="@+id/overview_editquickwizard_usebg_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/quickWizardUseBGArray" />
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usebolusiob"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<Spinner
android:id="@+id/overview_editquickwizard_usebolusiob_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/quickWizardUseBolusIOBArray" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usebasaliob"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<Spinner
android:id="@+id/overview_editquickwizard_usebasaliob_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/quickWizardUseBasalOBArray" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usecob"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<Spinner
android:id="@+id/overview_editquickwizard_usecob_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/quickWizardUseCOBArray" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usetrend"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<Spinner
android:id="@+id/overview_editquickwizard_usetrend_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/quickWizardUseTrendArray" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usesuperbolus"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<Spinner
android:id="@+id/overview_editquickwizard_usesuperbolus_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/quickWizardUseSuperBolusArray" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usetemptarget"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<Spinner
android:id="@+id/overview_editquickwizard_usetemptarget_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/quickWizardUseTempTargetArray" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
<include layout="@layout/mdtp_done_button" />
2017-12-26 00:27:34 +01:00
2017-12-26 01:22:35 +01:00
</LinearLayout>
2016-10-20 23:50:31 +02:00
2017-12-26 01:22:35 +01:00
</ScrollView>
2016-10-20 23:50:31 +02:00
</FrameLayout>