2012-11-12 3 views
9

android에서 탭을 만드는 동안 문제가 있습니다. Google Play에서처럼 보이게하려고합니다. this sample 다음에 이미 스크롤링 탭을 만들었지 만 제목은 여전히 ​​i.imgur.com/SKYd2.png와 같습니다.Google 플레이와 같은 제목 스크롤

그러나 나는 그들이 this처럼 스크롤되도록하고 싶습니다.

저는 ActionBarSherlock을 사용하고 있습니다. 나는 해결책을 찾기 위해 며칠 동안 수색했지만 운이 좋지 않았습니다. 내가 만난 것은 탭이 아니라 제목입니다.

아이디어가 있으십니까?

+1

에서 TabPageIndicator를 사용할 수 있을까? – sandrstar

+1

ViewPagerIndicator와 비슷합니다. [이 샘플] (http://neta-abc.blogspot.com/2012/07/pagertabstrip.html)은 훌륭합니다. 고맙습니다! – nenuka

+0

최상의 샘플 nenuka. 감사! – Karan

답변

2

당신은 당신은 http://developer.android.com/reference/android/support/v4/view/PagerTabStrip.html을 확인 했 http://viewpagerindicator.com/

+0

시도해 보았지만 ABS 라이브러리를 사용하여 수행 할 수 없습니까? – nenuka

+0

이 라이브러리는 [ActionBarSherlock] (http://actionbarsherlock.com/) 지원을 위해 만들어 졌으므로 라이브러리로 다운로드하여 추가해야합니다. 프로젝트에서'ActionBarSherlock'을 사용할 필요가 없습니다. – neworld

+0

예, 작동하지만 모든 샘플이 너무 커서 이해할 수 없었습니다. [This] (http://neta-abc.blogspot.com/2012/07/pagertabstrip.html)는 나에게 조금 도움이되었다. 감사합니다. – nenuka

관련 문제