Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

How to set vertical align icon of the selected tab in a tabbedpage

$
0
0

Hi everyone, the icon of the selected tab aligns top vertically. How to set that alignment to center like others unselected tabs?

I am using FreshMVVM Framework and this is the code:

var masterDetailsMultiple = new MasterDetailPage();
masterDetailsMultiple.Title = "Master";
var menuPage = FreshPageModelResolver.ResolvePageModel();
masterDetailsMultiple.Master = menuPage;

var tabbedNavigation = new FreshTabbedNavigationContainer();
tabbedNavigation.On<Xamarin.Forms.PlatformConfiguration.Android>().SetToolbarPlacement(ToolbarPlacement.Bottom);
tabbedNavigation.AddTab("", "update2.png", null);
tabbedNavigation.AddTab("", "form2.png", null);
tabbedNavigation.AddTab("", "poll2.png", null);
tabbedNavigation.AddTab("", "star2.png", null);
tabbedNavigation.AddTab("", "ideas2.png", null);


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>