Open MohdIB opened 1 month ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
This problem cannot be reproduced at Android platform on the latest 17.11.0 Preview 3.0(8.0.40 & 8.0.60).
Remove one menu item (e.g. bears) and see that the items are not equally spaced. The three items will be centered.
Having four items makes it seem to be equally spaced visually. In landscape mode, having four items too makes them positioned centered.
Can repro this issue at Android platform on the latest 17.11.0 Preview 3.0(8.0.40 & 8.0.60).
Interesting, we set the visibility mode to LabelVisibilityLabeled which I was thinking would equally space everything
I tried to set the visibility mode to LabelVisibilityLabeled in the shell custom render, this issue still existed.
Not able to equally space menu items of BottomNavigationView using Shell in Android Tablets even after using many ways in Shell Custom Renderer for Android.
Commenting to highlight the urgency of this issue.
@PureWeen, Any update or help on this open issue as i am unable to get a work around to equally space menu items of BottomNavigationView using shell in Android Tablets.
Description
I've set up this MAUI Shell project and removed one item from the BottomNavigationView. Once removed the remaing three items are concentrated in the center. This issue is easily noticeable in tabs of large display size.
Having four items makes it seem to be equally spaced in potrait mode but technically not as in Landscape mode, the menu items are centered even for four items. Tried implementing a CustomShellRenderer for android but no expected output.
This issue is observed only in android devices and not not in iOS (The items are equally spaced by default)
Steps to Reproduce
Link to public reproduction project repository
https://github.com/dotnet/maui-samples/tree/main/8.0/Fundamentals/Shell
Version with bug
8.0.60 SR6
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 9 and up
Did you find any workaround?
No.
Relevant log output
No response