mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Focus subject field of create conversation/group call dialog
This commit is contained in:
parent
9c7739cf6c
commit
54a775e0fd
1 changed files with 3 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ import android.view.LayoutInflater
|
|||
import android.view.Window
|
||||
import android.view.WindowManager
|
||||
import androidx.annotation.UiThread
|
||||
import androidx.appcompat.widget.AppCompatEditText
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import androidx.databinding.ViewDataBinding
|
||||
import androidx.lifecycle.LifecycleOwner
|
||||
|
|
@ -285,6 +286,8 @@ class DialogUtils {
|
|||
false
|
||||
)
|
||||
binding.viewModel = viewModel
|
||||
// For some reason, binding.subject triggers an error on Android Studio...
|
||||
binding.root.findViewById<AppCompatEditText>(R.id.subject)?.requestFocus()
|
||||
|
||||
return getDialog(context, binding)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue