Repository navigation
Conversation
|
@spixy Thanks for looking into this. I did find some prior discussion related to this: https://bugzilla.xamarin.com/show_bug.cgi?id=58136 At minimum, I'd like to see a Flags attribute on the current enum regardless of whether |
|
We are not making API breakage at this time. :-) Would a "property overload" work for you? partial class WindowManagerLayoutParams {
public SystemUiFlags SystemUiFlags {
get {return (SystemUiFlags) SystemUiVisibility;}
set {SystemUiVisibility = (Android.Views.StatusBarVisibility) value;}
}
}We could then |
|
Yes that will be a good solution for now. |
|
I'm fine with the property overload as well. Thanks. |
|
So will anyone contribute the PR to do the "property overload," or is everyone looking at me? :-) |
|
Hello! I'm the build bot for Xamarin. I need approval from a Xamarin team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done. Contributors can ignore this message. |
Changes
View.SystemUiVisibilityfromStatusBarVisibilitytoSystemUiFlagswhich is right enum type.This also solves #2372 because
SystemUiFlagshas[Flags]attribute.Note: it is breaking change