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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -