I tried to develope an android application like this, I found this code:

http://developer.android.com/training/implementing-navigation/lateral.html#horizontal-paging

but as you know becuase of fregment, it works on api 11 and up, how can I do the same in api 8?

有帮助吗?

解决方案

Check the Setting up a project with ActionBar, NavigationTabs and swipe navigation and follow the steps giving in it after downloading the library of ActionBarSherlock

其他提示

You have to use Android Support library or Sherlock library. By any of it, you can achieve fragments and Swiping using ViewPager on older APIs of android.

Check the link below : This is using Sherlock Library

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top