Minor soft input enhancements

This commit is contained in:
Juha Heinanen
2021-12-21 12:59:20 +02:00
parent 68eb9fe2a9
commit 67c7e5b7bf
2 changed files with 1 additions and 1 deletions

View File

@ -45,6 +45,7 @@
android:name=".MainActivity"
android:theme="@style/AppTheme.Main"
android:configChanges="orientation|keyboardHidden|screenSize"
android:windowSoftInputMode="adjustResize"
android:exported="true"
android:launchMode="singleTask">
<intent-filter>

View File

@ -1696,7 +1696,6 @@ class MainActivity : AppCompatActivity() {
swipeRefresh.isEnabled = false
val call = showCall ?: Call.uaCalls(ua, "")[0]
callUri.isFocusable = false
imm.hideSoftInputFromWindow(callUri.windowToken, 0)
when (call.status) {
"outgoing", "transferring" -> {
callTitle.text = getString(R.string.outgoing_call_to_dots)