mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Prevent on some devices (such as Pocophone F1) display issue with keyboard & window insets
This commit is contained in:
parent
b58a23b60d
commit
196a010f36
2 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ class CallActivity : GenericActivity() {
|
|||
ViewCompat.setOnApplyWindowInsetsListener(binding.otherCallsTopBar.root) { v, windowInsets ->
|
||||
val insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars())
|
||||
v.updatePadding(0, insets.top, 0, 0)
|
||||
WindowInsetsCompat.CONSUMED
|
||||
windowInsets
|
||||
}
|
||||
|
||||
ViewCompat.setOnApplyWindowInsetsListener(binding.callNavContainer) { v, windowInsets ->
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ class MainActivity : GenericActivity() {
|
|||
ViewCompat.setOnApplyWindowInsetsListener(binding.inCallTopBar.root) { v, windowInsets ->
|
||||
val insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars())
|
||||
v.updatePadding(0, insets.top, 0, 0)
|
||||
WindowInsetsCompat.CONSUMED
|
||||
windowInsets
|
||||
}
|
||||
|
||||
ViewCompat.setOnApplyWindowInsetsListener(binding.mainNavContainer) { v, windowInsets ->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue