0

I am using PageViewer and PagerTabStrip for swiping through the screen with tabs in Xamarin.Android. But It shows one tab per page. I want to show all 5 tabs on a single page.

This is already explained for Android PagerTabStrip tabs alignment to left, but I want this in Xamarin.Android.

Phone

Mika Sundland
  • 18,120
  • 16
  • 38
  • 50
Rex U
  • 11
  • 7

1 Answers1

0

You need SlidingTabLayout class and SlidingTabStrip class. The link you posted, they are java codes, you just need change them to c# codes and then you will solve your problem. here is a vedio baout SlidingTabLayout, and here is a demo which contains the classes, just copy it to your project and reference in you layout.

Robbit
  • 4,300
  • 1
  • 13
  • 29
  • Lv MSFT i want to add button in page ,and if i click on that button it should to to particulat pagerView .can you help – Rex U Jan 30 '18 at 05:38