scrollview
蓝猫不是猫
这个作者很懒,什么都没留下…
展开
-
关于scrollview的滚动
想要做成的效果:当edittext选中时,整个scrollview全部滚动上去用scrollTo scrollBy smothScrollTo smothScrollBy都试过 都不起作用整个布局是这样的这是弹出的首先 所在activity设置android:windowSoftInputMode="a原创 2016-07-18 17:16:53 · 468 阅读 · 0 评论 -
scrollivew(nestedscrollview)嵌套viewpager切换fragment时,scrollview 滚动到最上方
android:focusable=trueandroid:focusableInTouchMode=trueandroid:descendantFocusability=beforeDescendants 这三条属性加到scrollview的一级子控件beforeDescendants:viewgroup会优先其子类控件而获取到焦点afterDescendants:vie...原创 2018-09-04 20:26:26 · 839 阅读 · 0 评论