kgdc.net
当前位置:首页 >> nssCrollviEw 详解 >>

nssCrollviEw 详解

以下代码应该可以的。 float ScrollLocation = 0.0; float MaxScroll = 0.0; [[m_textview enclosingScrollView] setLineScroll:0.0f]; [[m_textview enclosingScrollView] setPageScroll:0.0f]; ScrollLocation = [[[m_textview enclosingScrol...

仔细听

外层scrollview重写一下,当滑动内层scrollview的时候就不让外层的scrollview滑动. public class MyScrollView extends ScrollView {private boolean canScroll;private GestureDetector mGestureDetector;View.OnTouchListener mGestureListene...

网站首页 | 网站地图
All rights reserved Powered by www.kgdc.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com