summaryrefslogtreecommitdiff
path: root/altosdroid
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-09-13 22:27:10 -0700
committerKeith Packard <keithp@keithp.com>2015-10-13 13:54:28 -0700
commitf61c2b73f3b63aa9c3f0fbccede89c71580089ba (patch)
tree74b873184f6d5a4b90ae61b88e2203dd0eac2b5c /altosdroid
parent9dae5f76c5691dc94c02839eb1321426f96f2134 (diff)
altosdroid: Add minus sign and decimal point to lat/lon input fields
Some android devices always have change-sign and decimal-point keys visible, but some do not. Make sure they're available for lat/lon input. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosdroid')
-rw-r--r--altosdroid/res/layout/map_preload.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosdroid/res/layout/map_preload.xml b/altosdroid/res/layout/map_preload.xml
index dc613bf2..e8b0f26c 100644
--- a/altosdroid/res/layout/map_preload.xml
+++ b/altosdroid/res/layout/map_preload.xml
@@ -45,7 +45,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/preload_latitude_label"
- android:inputType="number"/>
+ android:inputType="number|numberSigned|numberDecimal"/>
<TextView android:id="@+id/preload_longitude_label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@@ -55,7 +55,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/preload_longitude_label"
- android:inputType="number"/>
+ android:inputType="number|numberSigned|numberDecimal"/>
<TextView android:id="@+id/preload_types"
android:layout_width="fill_parent"
android:layout_height="wrap_content"