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

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)