public partial class BaseTabbedPage : TabbedPage
{
public BaseTabbedPage()
{
InitializeComponent();
var page1 = new NavigationPage(new ContentPage() { Title = "Tab 1", Content = new Label { Text = "page 1" } }) { Title = "Tab1" };
var page2 = new NavigationPage(new MainPage() { Title = "Tab 2" }) { Title = "Tab 2" };
var page3 = new NavigationPage(new ContentPage() { Title = "Tab 3", Content = new Label { Text = "page 3" } }) { Title = "Tab 3" };
var page4 = new NavigationPage(new MainPage() { Title = "Tab 4" }) { Title = "Tab 4" };
var page5 = new NavigationPage(new ContentPage() { Title = "Tab 5", Content = new Label { Text = "page 5" } }) { Title = " Tab 5" };
this.Children.Add(page1);
this.Children.Add(page2);
this.Children.Add(page3);
this.Children.Add(page4);
this.Children.Add(page5);
}
However if only NavigationPage is used for a page then this issue does not appear.
Description
Making NavigationPage children to be of TabbedPage works fine on iOS but on Android, it shifts the button text . Its pretty weird UX
When you see the Button's text it aligns to left sometimes
How to fix this?
Steps to Reproduce
However if only NavigationPage is used for a page then this issue does not appear.
Expected Behavior
Should not change the text alignment
Actual Behavior
Button text alignment to left
Basic Information
Screenshots
Reproduction Link
Github
Will upload in few minutes