Change keyboard
This commit is contained in:
parent
e006ebc216
commit
ef3b497f7b
1 changed files with 4 additions and 1 deletions
|
@ -44,8 +44,10 @@ import net.osmand.util.Algorithms;
|
|||
import net.osmand.util.MapUtils;
|
||||
|
||||
import static android.text.InputType.TYPE_CLASS_PHONE;
|
||||
import static android.text.InputType.TYPE_CLASS_TEXT;
|
||||
import static android.text.InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS;
|
||||
import static android.text.InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS;
|
||||
import static android.text.InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD;
|
||||
|
||||
public class QuickSearchCoordinatesFragment extends DialogFragment implements OsmAndCompassListener, OsmAndLocationListener {
|
||||
|
||||
|
@ -512,7 +514,8 @@ public class QuickSearchCoordinatesFragment extends DialogFragment implements Os
|
|||
if (currentFormat == PointDescription.FORMAT_DEGREES) {
|
||||
et.setInputType(TYPE_CLASS_PHONE);
|
||||
} else {
|
||||
et.setInputType(TYPE_TEXT_FLAG_CAP_CHARACTERS | TYPE_TEXT_FLAG_NO_SUGGESTIONS);
|
||||
et.setInputType(TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_VISIBLE_PASSWORD |
|
||||
TYPE_TEXT_FLAG_CAP_CHARACTERS | TYPE_TEXT_FLAG_NO_SUGGESTIONS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue