Minor soft input enhancements
This commit is contained in:
@ -45,6 +45,7 @@
|
|||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:theme="@style/AppTheme.Main"
|
android:theme="@style/AppTheme.Main"
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||||
|
android:windowSoftInputMode="adjustResize"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:launchMode="singleTask">
|
android:launchMode="singleTask">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|||||||
@ -1696,7 +1696,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
swipeRefresh.isEnabled = false
|
swipeRefresh.isEnabled = false
|
||||||
val call = showCall ?: Call.uaCalls(ua, "")[0]
|
val call = showCall ?: Call.uaCalls(ua, "")[0]
|
||||||
callUri.isFocusable = false
|
callUri.isFocusable = false
|
||||||
imm.hideSoftInputFromWindow(callUri.windowToken, 0)
|
|
||||||
when (call.status) {
|
when (call.status) {
|
||||||
"outgoing", "transferring" -> {
|
"outgoing", "transferring" -> {
|
||||||
callTitle.text = getString(R.string.outgoing_call_to_dots)
|
callTitle.text = getString(R.string.outgoing_call_to_dots)
|
||||||
|
|||||||
Reference in New Issue
Block a user