Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SystemUiController] Add support for systemBarsBehavior #1251

Merged
merged 1 commit into from Jul 19, 2022

Conversation

alexvanyo
Copy link
Collaborator

@alexvanyo alexvanyo commented Jul 19, 2022

This PR exposes SystemUiController.systemBarsBehavior, which is just a small wrapper around WindowInsetsControllerCompat.systemBarsBehavior.

Since SystemUiController exposes isSystemBarsVisible, isStatusBarVisible and isNavigationBarVisible, it seems reasonable to also expose the behavior tweaking how those setters work.

This fixes #1205

@alexvanyo alexvanyo requested a review from bentrengrove Jul 19, 2022
Copy link
Collaborator

@bentrengrove bentrengrove left a comment

Nice work

@bentrengrove bentrengrove merged commit 1e2da2b into main Jul 19, 2022
11 checks passed
@bentrengrove bentrengrove deleted the av/system-bars-behavior branch Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[System UI Controller] I want full screen, but is not work
2 participants