How to create custom groupIndicator for ExpandableListView group

Here is tutorial How to create custon groupIndicator for ExpandableListView in Andriod. Here is screenshot: To do it you need: 1. Create 9-patch images for normal and expanded state 2. Create selector with this 9-patch images <selector xmlns:android=”http://schemas.android.com/apk/res/android”> <item android:state_expanded=”true” android:drawable=”@drawable/group_indicator_expanded” /> <item android:drawable=”@drawable/group_indicator” /> </selector> 3. Set this selector 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…