-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Describe the bug
When launching CallComposite, the UI ignores Android system insets (status bar and navigation bar).
The call screen is displayed fullscreen under the system bars, which makes the UI look cut off and inconsistent with other Android apps.
To Reproduce
Steps to reproduce the behavior:
- Integrate CallComposite in an Android project.
- Launch it from an AppCompatActivity.
- Observe the call screen.
- Notice that the UI goes under the status bar/navigation bar.
- This bug is always reproducible.
Expected behavior
The CallComposite should respect WindowInsets (safe areas) and adjust UI so that it does not overlap with system bars.
AzureCommunicationUILibrary (please complete the following information):
- Version [1.14.2]
Smartphone (please complete the following information):
- Device: [Pixel 6 Emulator]
- API: [API 36]
Call Logs
Collect and attach call logs Enable and access call logs
Additional context
In a normal Activity, this issue can be fixed by handling WindowInsets or using:
WindowCompat.setDecorFitsSystemWindows(window, false)
But since CallComposite manages its own Activity, developers have no direct control to fix it.
