Android Fragment Tabs Example

后端 未结 3 1809
终归单人心
终归单人心 2021-02-14 11:30

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

3条回答
  •  萌比男神i
    2021-02-14 12:19

    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

提交回复
热议问题