Reputation: 227
How to create a tabview, I have gone through many blogs in which they specify that tabview widget is depreciated from lv 8 but i need to create a layout which i have attached below. Can anyone guide me to design a layout like this, such that if i click on weekly this view should be displayed and another activity for today button.
Upvotes: 5
Views: 41965
Reputation: 968
Rather than go running off to use ActionBarSherlock, simple standard stock Android offers a tutorial and an example project on its site here.
http://developer.android.com/design/patterns/swipe-views.html
Familiarize yourself with Fragments and you should be good-to-go so long as you are comfortable already creating the layouts beneath each tab.
Upvotes: 5
Reputation:
For implementing TabView
you can use ActionBar
. You can explore this ActionBarSherLock. Here is the example of this Android Working with Action Bar.
Upvotes: 8