Created
September 5, 2013 09:59
-
-
Save daichan4649/6448185 to your computer and use it in GitHub Desktop.
EditText が含まれる場合でも、起動時にキーボードを自動で開かない (Android)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
// ime開かない | |
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment