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