Android EditText shows keyboard with capital letters and raw number

I can display a keyboard with capital letters:

android:inputType="textCapCharacters"

but can i show the amount of raw?

WITH

    android:inputType="textVisiblePassword"

I can have the desired display while holding shift in the keyboard example

But can I initialize editText to show that?

PS: already tried

    android:inputType="textVisiblePassword|textCapCharacters"

but it didn’t work.

+4
source share
2 answers

Have you tried android:textAllCaps="true"combined with android:inputType="textVisiblePassword"?
In any case, I do not think that this will lead to the same on every device, since it is keyboard-specific, whether it has a numeric string or not.

0
source

textCapCharacters | textVisiblePassword .

-1

Source: https://habr.com/ru/post/1668054/


All Articles