From 3fd432f53fe197b7bf326cdec6555ec7775fbcc4 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 18 Aug 2016 21:26:27 +0200 Subject: [PATCH] open the keyboard at showing the edit dialog --- .../simplemobiletools/applauncher/adapters/RecyclerAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/RecyclerAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/RecyclerAdapter.kt index a7f47f9..6c01e32 100644 --- a/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/RecyclerAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/RecyclerAdapter.kt @@ -84,6 +84,7 @@ class RecyclerAdapter(val act: Activity, val launchers: List, val i builder.setNegativeButton(R.string.cancel, null) val alertDialog = builder.create() + alertDialog.window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE) alertDialog.show() alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener { val newName = editView.edit_launcher_edittext.text.toString().trim()