How to make list scrollbars visible all the time

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

I am google and I found this android:scrollbarFadeDuration="0" tag android:scrollbarFadeDuration="0" , but it works fine when you have a scroll view, but when I add this as a tag in my ListView , then the eclipse tells it that this tag does not exist in ListView component.

Is there a way to make all scrollbars of a ListView widget visible?

Edit1: these are all my tags and listview values

 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 scrolling is displayed, but only when I scroll, and after a few seconds it is gone.

+6
source share
2 answers

Set android: fadeScrollbars = "false"

+7
source

Source: https://habr.com/ru/post/898568/


All Articles