Android how to not stretch scrollbar thumb? -
i want customize scrollbar. i've read similar questions on stackoverflow, can't needed result.
i've created style:
<style name="your_style_name"> <item name="android:scrollbaralwaysdrawverticaltrack">true</item> <item name="android:scrollbarstyle">outsideoverlay</item> <item name="android:scrollbars">vertical</item> <item name="android:fadescrollbars">false</item> <item name="android:scrollbarthumbvertical">@drawable/scroller_thumb</item>
like in answer - https://stackoverflow.com/a/14487645/7478869
but in case scrollbar thumb image stretched vertically, tried use advise answer (https://stackoverflow.com/a/20385183/7478869) , replaced android:scrollbarthumbvertical
fastscrollthumbdrawable
. scrollbar thumb doesn't appear on screen.
how make custom scrollbar image without stretching? have simple scrollview
linearlayout
in it.
Comments
Post a Comment