1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 04:46:51 +01:00

limit max charaters to longiute and latitude to 7

This commit is contained in:
Andreas Shimokawa 2016-05-29 21:40:56 +02:00
parent 2e8d96e995
commit af14fb4f90

View File

@ -226,11 +226,13 @@
android:key="location_aquire" android:key="location_aquire"
android:title="@string/pref_title_location_aquire"/> android:title="@string/pref_title_location_aquire"/>
<EditTextPreference <EditTextPreference
android:maxLength="7"
android:digits="0123456789." android:digits="0123456789."
android:defaultValue="0" android:defaultValue="0"
android:key="location_latitude" android:key="location_latitude"
android:title="@string/pref_title_location_latitude" /> android:title="@string/pref_title_location_latitude" />
<EditTextPreference <EditTextPreference
android:maxLength="7"
android:digits="0123456789." android:digits="0123456789."
android:defaultValue="0" android:defaultValue="0"
android:key="location_longitude" android:key="location_longitude"