Friday, July 19, 2013

Set Custom Image for Listview ScrollBar Android

Set Image for Listview ScrollBar Android
Below the code how to set custom image for listview scrollview .  I hope it will help ful for you.

Listview scroll bar background image
 android:scrollbarTrackVertical="@drawable/scrool_bg"

Scroll Image

         android:scrollbarThumbVertical="@drawable/scroll"

<ListView
        android:id="@+id/item_listView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
         android:scrollbarAlwaysDrawVerticalTrack="true"
         android:scrollbarTrackVertical="@drawable/scrool_bg"
         android:scrollbarThumbVertical="@drawable/scroll"
        android:layout_alignParentLeft="true"
        android:layout_below="@+id/progressBar" >

    </ListView>


No comments:

Post a Comment

Check out this may be help you

Related Posts Plugin for WordPress, Blogger...