开发者

How do I hide the ScrollView scrollbar faster than the default?

开发者 https://www.devze.com 2023-03-28 08:12 出处:网络
How do I change the delay bef开发者_运维问答ore the scrollbar on a ScrollView is hidden? I want it to hide instantly after scrolling. I tried android:scrollbarDefaultDelayBeforeFade=\"0\" but it still

How do I change the delay bef开发者_运维问答ore the scrollbar on a ScrollView is hidden? I want it to hide instantly after scrolling. I tried android:scrollbarDefaultDelayBeforeFade="0" but it still sticks around and i have to either wait for it to disappear or click twice to click a button inside the ScrollView.


I'm pretty sure you have to set android:scrollbarFadeDuration to 0. Please report back whether this does the trick.

0

精彩评论

暂无评论...
验证码 换一张
取 消