How to Equally space menu items of BottomNavigationView in Android Tab?

Mohammed, Rahil 0 Reputation points
2024-07-11T12:03:56.5266667+00:00

Screenshot 2024-07-11 at 5.25.28 PM.png

https://github.com/dotnet/maui-samples/tree/main/8.0/Fundamentals/Shell
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. How to Equally space menu items to fill the width of the Tablet Device

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,097 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,913 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

  2. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 79,546 Reputation points Microsoft Vendor
    2024-07-16T02:36:28.2066667+00:00

    Hello,

    I find you have opened an issue in the MAUI GitHub:Not able to equally space menu items of BottomNavigationView using Shell in Android Tablets #23606

    Please track on this issue in the MAUI GitHub repo.

    I tried to set the visibility mode to LabelVisibilityLabeled in the shell custom render, this issue still existed.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.