自己根據(jù)老師的課程寫的源碼,給有需要的同學(xué):https://github.com/wudongjiang333/ViewPagerIndicator
2016-04-06
自己根據(jù)老師的課程寫的源碼,給有需要的同學(xué):https://github.com/wudongjiang333/ViewPagerIndicator
2016-04-06
自己根據(jù)老師的課程寫的源碼,給有需要的同學(xué):https://github.com/wudongjiang333/ViewPagerIndicator
2016-04-06
Eclipse中命名空間用老師的方式,Android Studio用http://schemas.android.com/apk/res-auto,另外,樓下的@大笨鐘_0003 真是個垃圾.
2016-04-05
樓下ywlm423說的對,if(position>=(mTabVisibleCount - 2)&&offset>0&&getChildCount()>mTabVisibleCount)改成if(position>=(mTabVisibleCount - 2)&&offset>0&&getChildCount()>mTabVisibleCount&&position<getChildCount()-2)能夠解決最后一個tab旁邊出現(xiàn)空余位置的問題。
2016-04-04
寫的很基礎(chǔ),寫得好的,直接動態(tài)設(shè)置,去看看開源的viewpagerindcator框架吧,那個封裝的很好
2016-03-30