How to set the spinner scroll bar has been shown

For the user experience, hope spinner scroll bar has been revealed, which great do me a favor.

Started by Justin at December 03, 2016 - 4:46 PM

android:scrollbars="true"

Posted by Devin at December 09, 2016 - 4:50 PM

android:scrollbars="true"

Posted by Joe at December 24, 2016 - 5:12 PM

Android:scrollbars is only the three values: none, horizontal, vertical. Said not to display the scrollbar, scrollbar display, scrollbar display vertical.

android:fadeScrollbars="false"
android:scrollbarFadeDuration="0"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:scrollbarAlwaysDrawHorizontalTrack="true"
These attributes are useless to Spinner, Android does not provide the ready-made method to make spinner Drop Item scrollbar has shown, you have to realize their own.

Posted by York at January 04, 2017 - 5:44 PM