0

Tutorial found in Android Developer can't be used together with Toolbar and Android 5.0. The alternative solution is to use SlidingTabLayout. But currently, I found FragmentTabHost.

Which method is better? What is the pros and cons for each of them? What method should I use? I've googled it and found nothing regarding the comparison between them.

stackex
  • 3,205
  • 1
  • 11
  • 16

1 Answers1

0

Having same question. After looking at it, it's depending on your requirement. If it does not need sliding the FragmentTabHost is enough.

lannyf
  • 9,865
  • 12
  • 70
  • 152