Pages

How to hide Soft Keyboard when activity starts

super.onCreate(savedInstanceState);
setContentView(R.layout.addtocart);
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);


Raj

Hello I am Dharmendra Kumar Mishra From Siwan Bihar. I am Android Application Developer and Blogger. I love to share my knowledge over Internet.

No comments: