Not able to change NavigationBarDividerColor on android platform
Description
There is a 1px divider line between the navigation bar and the app, which i didnt found a way to style.
There is a property Android.Views.Window.NavigationBarDividerColor but whatever value i set it to, it is not considered.
Compared to changing the NavigationBar color:
Window.SetNavigationBarColor(); (works flawlessly for coloring the navigation bar)
Window.SetNavigationBarDividerColor() (this method does not exist)
When reproducing this issue, make sure that your app background is dark, otherwise you cannot see the divider line which defaults to white.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
7.0.101
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android
Asus ZenFone 8 Model: ASUS_I006D OS: Android 13 API Level: 33
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
Hi @stephansum. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Can you also include more information about the device you are testing on?
Sure:
Asus ZenFone 8 Model: ASUS_I006D OS: Android 13 API Level: 33
Hi @stephansum. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
I could solve the issue by setting: Window.SetBackgroundDrawable(null); first.