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

87 lines
3.2 KiB
XML
Raw Normal View History

2016-06-20 22:55:49 +02:00
<?xml version="1.0" encoding="utf-8"?>
2017-09-24 13:00:59 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2017-04-30 20:54:35 +02:00
xmlns:tools="http://schemas.android.com/tools"
2016-06-20 22:55:49 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2017-09-24 13:00:59 +02:00
android:minWidth="300dp"
android:orientation="vertical"
android:padding="10dp">
2016-06-20 22:55:49 +02:00
2017-12-22 19:50:16 +01:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:paddingBottom="10dp"
android:text="@string/virtualpump_extendedbolus_label"
android:textAppearance="?android:attr/textAppearanceLarge" />
2017-09-24 13:00:59 +02:00
<LinearLayout
android:id="@+id/careportal_newnstreatment_insulin_layout"
2016-06-20 22:55:49 +02:00
android:layout_width="match_parent"
2017-09-24 13:00:59 +02:00
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:width="120dp"
android:padding="10dp"
android:text="@string/treatments_newtreatment_insulinamount_label"
android:textAppearance="@android:style/TextAppearance.Material.Small"
android:textStyle="bold" />
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.NumberPicker
2017-09-24 13:00:59 +02:00
android:id="@+id/overview_newextendedbolus_insulin"
android:layout_width="130dp"
android:layout_height="40dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="left"
android:minWidth="45dp"
android:paddingLeft="5dp"
android:text="U"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
<LinearLayout
android:id="@+id/careportal_newnstreatment_duration_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:width="120dp"
android:padding="10dp"
android:text="@string/careportal_newnstreatment_duration_label"
android:textAppearance="@android:style/TextAppearance.Material.Small"
android:textStyle="bold" />
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.utils.NumberPicker
2017-09-24 13:00:59 +02:00
android:id="@+id/overview_newextendedbolus_duration"
android:layout_width="130dp"
android:layout_height="40dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="left"
android:minWidth="45dp"
android:paddingLeft="5dp"
android:text="min"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
<include layout="@layout/mdtp_done_button" />
</LinearLayout>