2013-04-05 55 views
0

可以使用ViewPagerIndicator的ActionBarSherlock的標籤和動作條在同一個應用程序? 如果是這樣,有人知道它的一個例子嗎? 感謝ViewPagerIndicator和ActionBarSherlock

+0

此屏幕講的一切:HTTPS://raw.github .com/JakeWharton/Android-ViewPagerIndicator/master/sample/screens.png – 2013-04-05 11:04:39

+0

是的我現在在應用程序中使用它們 – 2013-04-05 11:27:27

回答

2

這是很容易,其實。只需按照此tutorial

+0

教程的源代碼:https://github.com/zmdominguez/vpi-abs-demo – zizoujab 2013-07-13 00:23:28

0

這兩個庫之間沒有衝突,我修改ViewPagerIndicator在我自己的路,這裏是sample,結合actionbarsherlock,sherlocknavigation,swipebacklayout,actionbarpulltorefresh(customed)

+0

[Java源(https://github.com/coswind/mvnRepoDemo/blob/master/demo/src/main/java/com/coswind/viewpagerindicator/HomeFragment.java)和[LayoutRes](https://github.com/coswind/mvnRepoDemo /斑點/主/演示/ SRC /主/ RES /佈局/ home_frag ment.xml) – coswind 2013-12-09 09:10:42

+0

所有的依賴是[這裏](https://github.com/coswind/mvnRepoDemo/blob/master/demo/build.gradle),我使用gradle 1.8。 – coswind 2013-12-09 09:11:40

相關問題