Hello All,
I am a beginner in Xamarin and trying to use TabbedPage for my application. When I used TabbedPage and set the icons, it works fine.
Then I set the TabbedPage position to bottom.
However, when I run the application, the TabbedPage icons are not visible and even the width is too long for one Tab
Below is my XAML code:
<?xml version="1.0" encoding="utf-8" ?> <TabbedPage xmlns="//xamarin.com/schemas/2014/forms" xmlns:x="//schemas.microsoft.com/winfx/2009/xaml" xmlns:views="clr-namespace:App5.Views" x:Class="App5.Views.MainPage" BarBackgroundColor="LightYellow" BarTextColor="Black" xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core" android:TabbedPage.ToolbarPlacement="Bottom" android:TabbedPage.BarItemColor="Black" android:TabbedPage.BarSelectedItemColor="Red"> <TabbedPage.Children> <NavigationPage Title="Tab1" Icon="Tab1.png"> <x:Arguments> <views:ItemsPage /> </x:Arguments> </NavigationPage> <NavigationPage Title="Tab2" Icon="Tab2.png"> <x:Arguments> <views:AboutPage /> </x:Arguments> </NavigationPage> <NavigationPage Title="Tab3" Icon="Tab3.png"> <x:Arguments> <views:AboutPage /> </x:Arguments> </NavigationPage> <NavigationPage Title="Tab4" Icon="Tab4.png"> <x:Arguments> <views:AboutPage /> </x:Arguments> </NavigationPage> </TabbedPage.Children> </TabbedPage>
Can anyone please help me on this?
Answers
I have created a new app and tried to verified the question.

The result is that the TabbedPage icons are visible , and meanwhile only the current TablePage's Title of is visible while others is not visible. Just as the follows effect:
And this is an issue about
TablePage
, you can check: https://github.com/xamarin/Xamarin.Forms/issues/3083If you read through this thread , you will find a solution.
https://forums.xamarin.com/discussion/149152/placing-tabbed-page-toolbar-at-bottom-forces-design-to-display-tab-title-only-when-a-tab-is-active
For more details: https://montemagno.com/xamarin-forms-official-bottom-navigation-bottom-tabs-on-android/
Hope it can help you.
Have you got the solution?
jezh did you find any solution?