make sure the keyboard is visible by default at creating a new event

This commit is contained in:
tibbi 2018-11-16 20:23:05 +01:00
parent 708a9e32ea
commit 7679d2c6bc
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class EventActivity : SimpleActivity() {
}
private fun setupNewEvent() {
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE)
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
event_title.requestFocus()
updateActionBarTitle(getString(R.string.new_event))
val isLastCaldavCalendarOK = config.caldavSync && config.getSyncedCalendarIdsAsList().contains(config.lastUsedCaldavCalendarId)