Rookie
Rookie

Reputation: 8790

Android Fragment Tabs Example

I am currently working on 2.3 version of android and I want to switch my app to 4.0 version but the TabActivity is deprecated. So I was looking for working example of FragmentTabs but I am not able to find one. Can anyone help?

Upvotes: 10

Views: 33332

Answers (3)

wyoskibum
wyoskibum

Reputation: 1859

I've found the FragmentTabs example from the API Demos project to be very useful.

Just create a new Android sample project from Eclipse and choose the API demos (try API 13). Also for the support (compatibility) library, there's a FragmentTabs demo in the Support4Demos

also refer this link Android-FragmentTabHost-demo

Upvotes: 18

Haspemulator
Haspemulator

Reputation: 11308

It's worth mentioning that Google introduced ActionBarCompat in the v7 appcompat library (together with Android 4.3) yesterday. Here's a video overview, and here's documentation.

Upvotes: 0

Chris K.
Chris K.

Reputation: 258

A great library is ActionBarSherlock. You can find it here. There are many examples and demos even for fragments.

Upvotes: 0

Related Questions