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
2010-04-02 06:03:41
"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
2010-04-02 12:03:05
yes for displaying purpose i want it.Please give me the suggestions
sairam
2010-04-03 06:52:50
I thought I did?
synic
2010-04-05 06:12:14