How to hide the soft keyboard in android
Take your app to the top keyword installs: http://bit.ly/2Xyg176
Recommended way to get genuine real and safest reviews: http://bit.ly/2XDZlpD
Recommended way to boost your apps ranking: http://bit.ly/2G3nMa7
Recommended Best Ads Mediation Network: http://bit.ly/2JpoeSl
Recommended book about the app market: https://amzn.to/2JDjojo
Subscribe To My Channel and Get More Great Tutorials
http://www.youtube.com/subscription_c...
The android keyboard can be a bit of a p.i.t.a. for developers who are trying to create a good user experience. Sometimes it won’t open when you would expect it to, and other times it will never dismiss without the user having to hit the back button (something which many android users wont realize). We have struggled often with the later situation.
Scouring the internet for advice turned up multiple solutions, and we have managed to figure some of our own as well.
In this example, we will show some of the best solutions we have found about the keyboard problem :
• The first one is the easiest way , it’s basde on xml delcaration via the « android:inputType="text" », it can be done also with the programmatic way by setting the input type to TYPE_CLASS_TEXT and TYPE_TEXT_VARIATION_NORMAL .
• The second one makes you think of the inputmethodmanager as a system service that mediates between your application and any input method you might be trying to use.
We gonna show you how to use this two alternative in this video.
The source code is available at http://www.indragni.com/android/Close...
--------------------------------------------------
:
How to hide the soft keyboard in android