How to create custom style for fast scroll scrollbar in Android

Here is sample for fastScroll ListView functionality. To apply this style you need add the following lines into your app’s style: <item name=”android:fastScrollThumbDrawable”>@drawable/fastscroll_drawable</item> <item name=”android:fastScrollOverlayPosition”>atThumb</item> <item name=”android:fastScrollTrackDrawable”>@drawable/track_fastscroll</item> Also if you need handle click action on your scrollbar you need create the next drawable: <?xml version=”1.0″ encoding=”utf-8″?> <selector xmlns:android=”http://schemas.android.com/apk/res/android” > <item Read more…

How to create custom Vertical or Horizontal Scrollbar for ListView, ScrollView, etc. in Android

Here is the screenshot of my custom Android scrollbar. Below you can download source code of this sample Android project How do the same. It is so simple. To make custom scrollbar for ListView or ScrollView, etc. you need set android:scrollbarThumbVertical or android:scrollbarThumbVertical for in screen layout. Example: Also it Read more…