2017-02-10 16:53:39 +01: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"
|
2017-02-10 16:53:39 +01: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">
|
2017-02-10 16:53:39 +01:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<ScrollView
|
2017-02-10 16:53:39 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-04-30 20:54:35 +02:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
<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-02-10 16:53:39 +01:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2017-02-10 16:53:39 +01:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/overview_calibration_bg_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2017-02-10 16:53:39 +01:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:id="@+id/overview_calibration_units"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2017-02-10 16:53:39 +01:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2017-06-27 15:25:11 +02:00
|
|
|
android:layout_marginLeft="30dp"
|
|
|
|
android:layout_marginRight="30dp"
|
2017-04-30 20:54:35 +02:00
|
|
|
android:orientation="horizontal">
|
2017-02-10 16:53:39 +01:00
|
|
|
|
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/overview_calibration_bg_minus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:background="@drawable/circle"
|
|
|
|
android:backgroundTint="#ffffff"
|
|
|
|
android:src="@drawable/ic_action_minus"
|
|
|
|
android:tint="#ffffff" />
|
2017-02-10 16:53:39 +01:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/overview_calibration_bg"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:minWidth="100dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text=""
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2017-02-10 16:53:39 +01:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/overview_calibration_bg_plus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:background="@drawable/circle"
|
|
|
|
android:backgroundTint="#ffffff"
|
|
|
|
android:src="@drawable/ic_action_add"
|
|
|
|
android:tint="#ffffff" />
|
2017-02-10 16:53:39 +01:00
|
|
|
|
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
</LinearLayout>
|
2017-02-10 16:53:39 +01:00
|
|
|
|
2017-06-27 15:25:11 +02:00
|
|
|
<include layout="@layout/mdtp_done_button" />
|
2017-02-10 16:53:39 +01:00
|
|
|
|
2017-04-30 20:54:35 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</FrameLayout>
|