I didn't know there are android:scrollbarThumbVertical. Thanks, social hub.
I tested with android:scrollbarThumbVertical="@drawable/icon" in ListView and the scrollbar thumb changed successfully except the width of the thumb is unchanged. On Mar 2, 11:43 pm, social hub <[email protected]> wrote: > there are some drawables i guess I am not sure whether it solves your issue > > android:scrollbarThumbHorizontal > Since: API Level > <http://developer.android.com/guide/appendix/api-levels.html#level> > > Defines the horizontal scrollbar thumb drawable. > > Must be a reference to another resource, in the form "@[+][*package*:]*type* > :*name*" or to a theme attribute in the form "?[*package*:][*type*:]*name*". > > This corresponds to the global attribute resource symbol > scrollbarThumbHorizontal<http://developer.android.com/reference/android/R.attr.html#scrollbarT...> > . > Related Methods > android:scrollbarThumbVertical > Since: API Level > <http://developer.android.com/guide/appendix/api-levels.html#level> > > Defines the vertical scrollbar thumb drawable. > > Must be a reference to another resource, in the form "@[+][*package*:]*type* > :*name*" or to a theme attribute in the form "?[*package*:][*type*:]*name*". > > This corresponds to the global attribute resource symbol > scrollbarThumbVertical<http://developer.android.com/reference/android/R.attr.html#scrollbarT...> > . > Related Methods > android:scrollbarTrackHorizontal > Since: API Level > <http://developer.android.com/guide/appendix/api-levels.html#level> > > Defines the horizontal scrollbar track drawable. > > Must be a reference to another resource, in the form "@[+][*package*:]*type* > :*name*" or to a theme attribute in the form "?[*package*:][*type*:]*name*". > > This corresponds to the global attribute resource symbol > scrollbarTrackHorizontal<http://developer.android.com/reference/android/R.attr.html#scrollbarT...> > . > Related Methods > android:scrollbarTrackVertical > Since: API Level > <http://developer.android.com/guide/appendix/api-levels.html#level> > > Defines the vertical scrollbar track drawable. > > Must be a reference to another resource, in the form "@[+][*package*:]*type* > :*name*" or to a theme attribute in the form "?[*package*:][*type*:]*name*". > > This corresponds to the global attribute resource symbol > scrollbarTrackVertical<http://developer.android.com/reference/android/R.attr.html#scrollbarT...> > . > > On Mon, Mar 1, 2010 at 10:44 PM, NoraBora <[email protected]> wrote: > > AFAIK, you cannot change the scroll bar colors. > > > On Feb 25, 3:20 am, sriram <[email protected]> wrote: > > > Hi All, > > > > Can the application customize the scroll bar colors like the thumb > > > color/image or the background color image. > > > > For example I am using a ListView on a device. Now the scrollbar seems > > > to appear in white because I see the imageviewgets truncated on the > > > left. > > > The same does not happen on the emulator where the scrollbar is > > > visible. > > > > Thanks... > > > > I have posted couple of questions, but have not recived even one > > > answer... atleast for this one can I get one response may be even from > > > the admin banning from posting :) > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

