Skip to content Skip to sidebar Skip to footer

Disable Hard Keyboard Input For Edittext In Android

I'm new to android and I need to set a EditText to use soft keyboard input only. It should not display any text that I type using the hard keyboard.is this possible ? Update: I use

Solution 1:

According to your need, you can set keyboard settings in Android Manifest File.

<uses-configuration android:reqFiveWayNav=["true" | "false"] 
            android:reqHardKeyboard=["true" | "false"]
            android:reqKeyboardType=["undefined" | "nokeys" | "qwerty" |  
                                     "twelvekey"]
            android:reqNavigation=["undefined" | "nonav" | "dpad" | 
                                   "trackball" | "wheel"]
            android:reqTouchScreen=["undefined" | "notouch" | "stylus" | 
                                    "finger"] />

Post a Comment for "Disable Hard Keyboard Input For Edittext In Android"