最新回答 / mmotiy
<...code...>for(int i=0;i<cCount;i++){ View view=getChildAt(i); LinearLayout.LayoutParams lp=(LayoutParams) view.getLayoutParams(); lp.weight=0; lp.width=0; lp.width=getScreenWidth()/mTabVisibleCount; view.setLayoutPar...
2016-03-11
最新回答 / 哈楠
我是在if (position >= (visibleTabCount-1) && offset>0 && itemcount>visibleTabCount&& position<itemcount-2 )加了position<itemcount-2 ,也可完美解决
2016-03-11