tags:

views:

288

answers:

1

Hi in my application scroll bar is just too skinny to use. Does anyone know how to change the width of this? Thanks in advance

+1  A: 

Looking around in the platform resource files, I found this in res/values/themes.xml under the main Theme:

    <item name="scrollbarSize">10dip</item>
    <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_horizontal</item>
    <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_vertical</item>

So, it looks like if you create your own Theme, as described in the documentation, you can provide your own drawables for the scrollbars.

I do wonder what you mean by they are "too skinny to use". They aren't meant to be touched/dragged. They are meant for display, to show you your current position relative to the entire ScrollView.

synic
"They aren't meant to be touched/dragged. They are meant for display, to show you your current position relative to the entire ScrollView." -- precisely!
CommonsWare
yes for displaying purpose i want it.Please give me the suggestions
sairam
I thought I did?
synic