More DTMF focus and soft keyboard improvements
This commit is contained in:
@ -475,9 +475,13 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
dtmf.setOnFocusChangeListener { _, hasFocus ->
|
||||
if (dtmf.isEnabled && !hasFocus)
|
||||
dtmf.requestFocus()
|
||||
dtmf.setOnFocusChangeListener { view, hasFocus ->
|
||||
if (hasFocus) {
|
||||
imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT)
|
||||
}
|
||||
}
|
||||
dtmf.setOnClickListener { view ->
|
||||
imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT)
|
||||
}
|
||||
|
||||
voicemailButton.setOnClickListener {
|
||||
|
||||
Reference in New Issue
Block a user