I want to make a tabbed page with 7 content page (in xamarin forms, NOT in native project). but the menu bar in red (I don't know what this thing is called so I call it menu bar) is not a scroll menu, so the title of each content page is not shown well. Like this:
the thing that I actually have
Somebody knows to make something like this?
thing that I want it to be
@Paweł Kanarek Your code for Droid project works perfectly. There's only a change needed to solve a build error.
Change the line:
to:
Thanks for your solution. It helped me perfectly.
Well cannot say much without seeing some code! - but my assumption is that your problem is with your theme...
Open up your 'Tabbar.axml' and change this line of code:
To:
UPDATE:
Then simply add the new line
app:tabMode="scrollable"
because by default is "fixed"Anyways as you requested here is my Tabbar.axml :
You can also change this by creating a CustomRednerer. My solution is good if you want to create many tabbed pages in your application and you want to make one of them with scrollable tabs and second with non-scrollable tabs.
Here is code for Droid project:
For Portable project:
And for result you get this: