70 lines
2.4 KiB
XML
70 lines
2.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:padding="10dp"
|
||
|
android:orientation="vertical"
|
||
|
>
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:padding="10dp"
|
||
|
android:text="@string/treatments_newtreatment_insulinamount_label"
|
||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||
|
android:layout_gravity="center_horizontal"/>
|
||
|
|
||
|
<EditText
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||
|
android:text=""
|
||
|
android:id="@+id/treatments_newtreatment_insulinamount"
|
||
|
android:padding="10dp"
|
||
|
android:minWidth="200dp"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:inputType="numberDecimal"/>
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:padding="10dp"
|
||
|
android:text="@string/treatments_newtreatment_carbsamount_label"
|
||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||
|
android:layout_gravity="center_horizontal"/>
|
||
|
|
||
|
<EditText
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||
|
android:text=""
|
||
|
android:id="@+id/treatments_newtreatment_carbsamount"
|
||
|
android:padding="10dp"
|
||
|
android:minWidth="200dp"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:inputType="numberDecimal"/>
|
||
|
|
||
|
<LinearLayout
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:padding="10dp"
|
||
|
android:orientation="horizontal"
|
||
|
android:layout_marginLeft="20dp"
|
||
|
android:layout_marginRight="20dp">
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/treatments_newtreatment_deliverbutton"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="OK"
|
||
|
android:textSize="20sp"
|
||
|
android:padding="10dp"
|
||
|
android:layout_weight="1"
|
||
|
/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</LinearLayout>
|