I would like: - the numeric keypad should be displayed first - but it should be possible to change the text keyboard and type a few letters.
I asked almost the same question and accepted the answer. InputType for EditText in Android
But now I found some strange behavior by setting InputType to Number : you can change the keyboard to a text type, but it is impossible to type text.
Any ideas why this is happening?
Does anyone know how to use TYPE_MASK_CLASS as input type?
thank
, , .TYPE_MASK_CLASS EditorInfo .
Android: inputType = "textPersonName | | numberSigned | numberDecimal"
Android: inputType = " | textCapCharacters | textCapWords | textCapSentences | textAutoCorrect | textAutoComplete | textMultiLine | textImeMultiLine | textPersonName"
Source: https://habr.com/ru/post/1780851/More articles:How to make Cocoa's invisible / hidden application - cocoaIdentification of (spoken) language in javascript - javascriptLimit the number of results using preg_match_all PHP - phpWhy can I get a StackOverflowError? - javaполучение цифровой клавиатуры по умолчанию - androidHow to link javascript objects to DOM nodes? - javascriptdetail view frame size splitviewcontroller does not change in ios4.2 - objective-cHow to call a method as soon as the constructor is complete? - constructorUIPicker Height - objective-cФорма Symfony 1.4, условное бросание sfValidatorError во встроенной форме - internationalizationAll Articles