Change keyboard

This commit is contained in:
Alexander Sytnyk 2017-07-17 17:04:55 +03:00
parent e006ebc216
commit ef3b497f7b

View file

@ -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);
}
}
}