Friday 30 December 2011

How to Hide Keyboard onStartup of Activity

Write Following Line in your onCreate Method:-


For Hide Keyboard:
getWindow().setSoftInputMode(WindowManager.LayoutParams.
SOFT_INPUT_STATE_ALWAYS_HIDDEN);

For Appear Keyboard:
getWindow().setSoftInputMode(WindowManager.LayoutParams.
SOFT_INPUT_STATE_ALWAYS_VISIBLE);


Enjoy :-) 

Don’t forget to provide feedback or follow this blog, if you find this blog is useful.

4 comments:

  1. its working fine , thanks alot...

    ReplyDelete
  2. Moviebox APK
    We are going to giving you the direct download link of MovieBox APK, and also you get this app on iPhone, Android TV, Firestick, Apple TV. ... How to Install MovieBox APK 5.8 application on Android? How to download and install MovieBox APK on Amazon Firestick/Fire TV?

    ReplyDelete
  3. dragon city cheat codes
    Today you can do their business endeavor! In the event that you select to perform live on the internet, there are huge amounts of traders who will give you by means of the online MBE instructional classes. Advise our specialists what sort of research associate from the web you ought to get.

    ReplyDelete