allow manual input in NumberPicker

This commit is contained in:
Milos Kozak 2017-06-27 23:23:44 +02:00
parent c3876c730b
commit 491f0837c8
2 changed files with 3 additions and 4 deletions

View file

@ -23,7 +23,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:text="1" android:text="1"
android:textColor="@android:color/black" android:textColor="@android:color/black"
android:focusable="false"
android:inputType="number" android:inputType="number"
android:gravity="center" android:gravity="center"
android:imeOptions="actionDone" android:imeOptions="actionDone"

View file

@ -40,7 +40,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:gravity="left" android:gravity="left"
android:minWidth="40dp" android:minWidth="45dp"
android:paddingLeft="5dp" android:paddingLeft="5dp"
android:text="mg/dl" android:text="mg/dl"
android:textAppearance="?android:attr/textAppearanceSmall" /> android:textAppearance="?android:attr/textAppearanceSmall" />
@ -107,7 +107,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:gravity="left" android:gravity="left"
android:minWidth="40dp" android:minWidth="45dp"
android:paddingLeft="5dp" android:paddingLeft="5dp"
android:text="@string/treatments_wizard_unit_label" android:text="@string/treatments_wizard_unit_label"
android:textAppearance="?android:attr/textAppearanceSmall" /> android:textAppearance="?android:attr/textAppearanceSmall" />
@ -141,7 +141,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:gravity="left" android:gravity="left"
android:minWidth="40dp" android:minWidth="45dp"
android:paddingLeft="5dp" android:paddingLeft="5dp"
android:text="min" android:text="min"
android:textAppearance="?android:attr/textAppearanceSmall" /> android:textAppearance="?android:attr/textAppearanceSmall" />