猿问

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

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

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