Android examples for User Interface:Window
Input Window Hide
//package com.java2s; import android.app.Activity; import android.view.WindowManager; public class Main { public static void InputHideBySer(Activity act) { act.getWindow().setSoftInputMode( WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN); }/* w w w . ja v a 2 s . c o m*/ }