Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make the scrollbars of listview visible all the time

I want my scrollbars to be visible all the time, well only the vertical scroll bar.

I google this and I found this tag android:scrollbarFadeDuration="0" but this works fine when you have a scroll view but when I add this as a tag in my ListView then eclipse it telling me that this tag doesn't exist in the ListView-component.

Is there any way to make the scroll bars of the ListView widget to be visible all the time ?

Edit1: these are all my tags and values of the listview

android:drawSelectorOnTop="false" android:layout_height="fill_parent"
    android:drawingCacheQuality="high" android:layout_width="fill_parent"
    android:id="@android:id/list" android:clickable="false"
    android:scrollbarAlwaysDrawVerticalTrack="true" android:fastScrollEnabled="true" android:scrollbars="vertical

The scroll is shown but only when I am scrolling and after few seconds it is gone

like image 763
Lukap Avatar asked Oct 04 '11 07:10

Lukap


1 Answers

Set android:fadeScrollbars="false"

like image 94
Manivannan Avatar answered Nov 14 '22 23:11

Manivannan