Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android EditText show keyboard with capital letters and number row

I can display a keyboard with capital litters with:

android:inputType="textCapCharacters"

but can I show a number row?

With

    android:inputType="textVisiblePassword"

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

But can I initialize editText to show that?

P.S.: already tried

    android:inputType="textVisiblePassword|textCapCharacters"

but it didn't work.

like image 410
Luis Higa Avatar asked Jan 27 '17 22:01

Luis Higa


1 Answers

Have you tried android:textAllCaps="true" combined with android:inputType="textVisiblePassword"?
Anyway I don't think it would result the same on every device, since it is keyboard specific, whether it has number row or not.

like image 113
nvi9 Avatar answered Nov 14 '22 05:11

nvi9