summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ba096d9)
no need to implement the same thing multiple times
.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
}
public static void showSoftKeyboard(Fragment fragment) {
.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
}
public static void showSoftKeyboard(Fragment fragment) {
- // make the keyboard appear
- fragment.getActivity()
- .getWindow()
- .setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
+ showSoftKeyboard(fragment.getActivity());