mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-04-16 02:47:22 +02:00
open the keyboard at showing the edit dialog
This commit is contained in:
parent
54f7b7dfa5
commit
3fd432f53f
@ -84,6 +84,7 @@ class RecyclerAdapter(val act: Activity, val launchers: List<AppLauncher>, 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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user