How do I make scrollbar semi-transparent? Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of How do I make scrollbar semi-transparent? without wasting too much if your time.

The question is published on by Tutorial Guruji team.

I’m developing my first android application using appcompat v7 and the android support library with API 23. I would like to know how can I make the scrollbar semi-transparent like Gmail for example.

This is the scrollbar I get by default on my RecyclerView

my scrollbar

and this is what I’m trying to achieve

desired scrollbar

Thank you for your help!


You need to create a custom style for your scrollbar. Use scrollbarThumbVertical for providing a custom drawable for the indicator of the scrollbar. Here is a link to a tutorial where you can learn more about styling a scrollbar.Scroll Bar Styling

We are here to answer your question about How do I make scrollbar semi-transparent? - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji