62 lines
2.4 KiB
XML
62 lines
2.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:orientation="vertical" android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:orientation="horizontal"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_gravity="center"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/treatments_newtreatment_insulinamount_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" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:orientation="vertical"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center">
|
||
|
<EditText
|
||
|
android:id="@+id/treatments_newtreatment_insulinamount"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:inputType="numberDecimal"
|
||
|
android:minWidth="50dp"
|
||
|
android:padding="10dp"
|
||
|
android:text="112"
|
||
|
android:cursorVisible="false"
|
||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||
|
android:gravity="center_horizontal" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/label"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:text="label"
|
||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||
|
android:gravity="center" />
|
||
|
</LinearLayout>
|
||
|
<ImageView
|
||
|
android:id="@+id/treatments_newtreatment_insulinamount_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>
|