0

[solved] Any hack to diable keyboad on Edittext in android?

I am trying to develop a calculator app. I want to disable the softKeyboard when user clicks on edittext but I want the cirser to be three so I can't use xml tags like focusabe in touch mode etc. I achived it on Android M using inputmethodmenager but it seems it is not working on my new phone.. Any help is highly appreciated if. Thanks

11th Jan 2019, 8:14 PM
Sheikh Zakir Ahmad
Sheikh Zakir Ahmad - avatar
5 Respostas
+ 6
Make disabled input field and then make your own calculator keyboard type value inside input field <input type="text" disabled >
11th Jan 2019, 9:36 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 3
Sheikh Zakir Ahmad If you have solved it then you can add prefix "[SOLVED]" to the question title so everyone understands that the case is solved. e.g. "[SOLVED] Any hack to disable keyboard on EditText in Android". Thanks for understanding,
15th Jan 2019, 5:53 AM
Ipang
+ 1
Not the solution as this makes edittext curser invisible. BTW I already solved it. Thanks
15th Jan 2019, 5:46 AM
Sheikh Zakir Ahmad
Sheikh Zakir Ahmad - avatar
+ 1
OkeyBro
15th Jan 2019, 6:19 AM
Sheikh Zakir Ahmad
Sheikh Zakir Ahmad - avatar
0
If u any one need the solution just visit Dialer app in AOSP.
15th Jan 2019, 6:20 AM
Sheikh Zakir Ahmad
Sheikh Zakir Ahmad - avatar