Reputation: 42854
I am trying to make 3-Tabs in a activity.
With my research I decided I am using fragments for this.
As I know per my knowledge we can make tabs in three ways
I am trying to follow 4th option.
My Question:
Will this have any disadvantage compared to first three methods?
Upvotes: 0
Views: 65
Reputation: 1007359
As i know per my knowledge we can make tabs in three ways
"Using SherlockLibrary" and "Using ActionBar Tabs" are the same thing, with the only difference being whether you are using ActionBarSherlock as an action bar backport or not
As NKN pointed out, you missed TabHost
, TabWidget
, and views for your tabs
You also missed what's probably the most popular option today, which is ViewPager
and a tabbed indicator (PagerTabStrip
, TabPageIndicator
from the ViewPagerIndicator library, etc.).
Will this have any disadvantage compared to first three methods?
It will not meet user expectations for the look and feel of tabs, without a lot of redundant work on the design. It would seem simpler to use any of the other solutions.
Upvotes: 3