lacas
lacas

Reputation: 14066

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?

Upvotes: 2

Views: 3187

Answers (2)

jigar
jigar

Reputation: 1591

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

Upvotes: 3

manno23
manno23

Reputation: 184

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.

Upvotes: 0

Related Questions