Android Question Visible ScrollView's scrollbar

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
Hi
Maybe visible scroll-view's scrollbar for always?
When user scroll scroll-view to bottom and after 2 second,scroll bar hidden.
I want to prevent hidden scroll-bar
 

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
It solved with below code
B4X:
Sub ShowScrollbar(ScrollView1 As ScrollView)
    Dim jo = ScrollView1 As JavaObject
    jo.RunMethod("setScrollBarFadeDuration", Array As Object (14000))
End Sub
 
Upvote 0

ArminKH

Well-Known Member
14000 is miliseconds? for unlimit fade duration maybe u need to change this value to 0
i'm not sure this is just a suggestion
thank u 4 sharing
 
Upvote 0
Top