猿问

Android里面的onPageScroll中的position是向下取值是什么意思?

LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) mTabLine.getLayoutParams();
lp.leftMargin = (int) (positionOffset * mScreen1_3 + position * mScreen1_3);
mTabLine.setLayoutParams(lp);

自定义丶
浏览 1665回答 0
0回答
随时随地看视频慕课网APP

相关分类

Android
我要回答