NumberPicker: automatically show keyboard

pull/452/head^2
Alinson S. Xavier 7 years ago
parent a839631aae
commit 3581173193

@ -71,6 +71,8 @@ class NumberPickerFactory
}
.create()
dialog.window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
InterfaceUtils.setupEditorAction(picker) { _, actionId, _ ->
if (actionId == EditorInfo.IME_ACTION_DONE)
dialog.getButton(DialogInterface.BUTTON_POSITIVE).performClick()

Loading…
Cancel
Save