Hide keyboard
This commit is contained in:
parent
4da9480656
commit
023d7844f0
1 changed files with 4 additions and 1 deletions
|
@ -35,6 +35,7 @@ import android.preference.Preference.OnPreferenceClickListener;
|
|||
import android.preference.PreferenceCategory;
|
||||
import android.preference.PreferenceScreen;
|
||||
import android.text.InputType;
|
||||
import android.view.WindowManager;
|
||||
|
||||
/**
|
||||
* @author Sylvain Berfini
|
||||
|
@ -65,7 +66,9 @@ public class AccountPreferencesFragment extends PreferencesListFragment {
|
|||
} else {
|
||||
manageAccountPreferencesFields(screen);
|
||||
}
|
||||
|
||||
|
||||
// Force hide keyboard
|
||||
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
|
||||
}
|
||||
|
||||
public static boolean isEditTextEmpty(String s){
|
||||
|
|
Loading…
Reference in a new issue