开发者

Android bigger and always visible scrollbar for WebView

I d like a bigger and always visible scrollbar for my WebView

i am in minSDK 3, version 1.5

step 1: this codes not working: (the scrollbars disappear after a while)

android:scrollbarAlwaysDrawVerticalTrack="true" 
android:scrollbarAlwaysDrawHorizontalTrack="true" 

(android:fadeScrollbars="false" not worked too, in that api level not usable)

step 2: how can i make a bigger scrollbar开发者_StackOverflow中文版?


add android:fadeScrollbars="false" in your xml activity...it will be working fine..!


If its important to create a bigger scrollbar you could extend ScrollView and use computeVerticalScrollOffset() to position a custom drawable in another view represting the overlaying scrollbar down the side. Could be a bit of work but you could fully customise it all.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜