Reputation: 2591
Help please, i'm searching the way to change vertical size of vertical scrollbar in listview (Android). Basically i want to add bottom padding for vertical scrollbar in listview. That means that scrollbar will be drawn not from exact bottom, but with some indent from bottom (40 dp for my purpose).
Upvotes: 1
Views: 2526
Reputation: 19743
Create your vertical scrollbar image with a transparent background and apply a 9patch to achieve this effect. You may have to create density specific images for different densities.
You can learn more about 9-Patch drawables from here.
Upvotes: 1
Reputation: 11191
You can change the width of the ScrollBar but I don't know if you can adjust the length since the scollbars are of the length of the ListView.
Upvotes: 0