limit max charaters to longiute and latitude to 7

here
Andreas Shimokawa 2016-05-29 21:40:56 +02:00
parent 2e8d96e995
commit af14fb4f90
1 changed files with 2 additions and 0 deletions

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"