From 491f0837c8c26524ea647b0c786c94bc3e94ee3a Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Tue, 27 Jun 2017 23:23:44 +0200 Subject: [PATCH] allow manual input in NumberPicker --- app/src/main/res/layout/number_picker_layout.xml | 1 - app/src/main/res/layout/overview_wizard_dialog.xml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/number_picker_layout.xml b/app/src/main/res/layout/number_picker_layout.xml index 6d6e945fce..2b143162a1 100644 --- a/app/src/main/res/layout/number_picker_layout.xml +++ b/app/src/main/res/layout/number_picker_layout.xml @@ -23,7 +23,6 @@ android:layout_height="match_parent" android:text="1" android:textColor="@android:color/black" - android:focusable="false" android:inputType="number" android:gravity="center" android:imeOptions="actionDone" diff --git a/app/src/main/res/layout/overview_wizard_dialog.xml b/app/src/main/res/layout/overview_wizard_dialog.xml index f8534b2506..fdf1e4dac0 100644 --- a/app/src/main/res/layout/overview_wizard_dialog.xml +++ b/app/src/main/res/layout/overview_wizard_dialog.xml @@ -40,7 +40,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:gravity="left" - android:minWidth="40dp" + android:minWidth="45dp" android:paddingLeft="5dp" android:text="mg/dl" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -107,7 +107,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:gravity="left" - android:minWidth="40dp" + android:minWidth="45dp" android:paddingLeft="5dp" android:text="@string/treatments_wizard_unit_label" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -141,7 +141,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:gravity="left" - android:minWidth="40dp" + android:minWidth="45dp" android:paddingLeft="5dp" android:text="min" android:textAppearance="?android:attr/textAppearanceSmall" />