2016-06-20 22:55:49 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-04-30 20:54:35 +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"
|
2016-06-20 22:55:49 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-04-30 20:54:35 +02:00
|
|
|
tools:context="info.nightscout.androidaps.plugins.InsulinFastacting.InsulinFastactingFragment">
|
2016-06-20 22:55:49 +02:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<ScrollView
|
2016-06-20 22:55:49 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-04-30 20:54:35 +02:00
|
|
|
android:layout_height="match_parent">
|
2017-05-30 15:07:44 +02:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="10dp">
|
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<RelativeLayout
|
2017-04-30 20:54:35 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-05-30 15:07:44 +02:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-05-30 15:07:44 +02:00
|
|
|
android:layout_alignParentStart="true"
|
2017-04-30 20:54:35 +02:00
|
|
|
android:text="@string/treatments_newtreatment_insulinamount_label"
|
2017-05-30 15:07:44 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
2017-04-30 20:54:35 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-05-30 15:07:44 +02:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginTop="30dp"
|
2017-04-30 20:54:35 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/overview_newextendedbolus_insulin_minus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/circle"
|
|
|
|
android:backgroundTint="#ffffff"
|
|
|
|
android:src="@drawable/ic_action_minus"
|
|
|
|
android:tint="#ffffff" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/overview_newextendedbolus_insulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2017-05-30 15:07:44 +02:00
|
|
|
android:gravity="center_horizontal"
|
2017-04-30 20:54:35 +02:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:minWidth="100dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text=""
|
2017-05-30 15:07:44 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2017-04-30 20:54:35 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/overview_newextendedbolus_insulin_plus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/circle"
|
|
|
|
android:backgroundTint="#ffffff"
|
|
|
|
android:src="@drawable/ic_action_add"
|
|
|
|
android:tint="#ffffff" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
2017-04-30 20:54:35 +02:00
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
</RelativeLayout>
|
2017-04-30 20:54:35 +02:00
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2017-04-30 20:54:35 +02:00
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<TextView
|
2017-04-30 20:54:35 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-05-30 15:07:44 +02:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:text="@string/careportal_newnstreatment_duration_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
2017-04-30 20:54:35 +02:00
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<LinearLayout
|
2017-04-30 20:54:35 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-05-30 15:07:44 +02:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginTop="30dp"
|
|
|
|
android:orientation="horizontal">
|
2017-04-30 20:54:35 +02:00
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/overview_newextendedbolus_duration_minus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/circle"
|
|
|
|
android:backgroundTint="#ffffff"
|
|
|
|
android:src="@drawable/ic_action_minus"
|
|
|
|
android:tint="#ffffff" />
|
2017-04-30 20:54:35 +02:00
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/overview_newextendedbolus_duration"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:minWidth="100dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text=""
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2017-04-30 20:54:35 +02:00
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/overview_newextendedbolus_duration_plus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/circle"
|
|
|
|
android:backgroundTint="#ffffff"
|
|
|
|
android:src="@drawable/ic_action_add"
|
|
|
|
android:tint="#ffffff" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-06-20 22:55:49 +02:00
|
|
|
|
2017-05-30 15:07:44 +02:00
|
|
|
<include layout="@layout/mdtp_done_button" />
|
2016-06-20 22:55:49 +02:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
</LinearLayout>
|
2017-05-30 15:07:44 +02:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
</ScrollView>
|
2017-05-30 15:07:44 +02:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
</FrameLayout>
|