ANDROID DEVELOPMENT RESOURCES
Search This Blog
Tuesday, October 7, 2014
Putting the divider in ListView
Here is the code for the divider in android list view.
int[] colors = {0, 0xFFFF0000, 0};
myListview.setDivider(new GradientDrawable(Orientation.RIGHT_LEFT, colors));
myListview.setDividerHeight(1);
This will brought into new gradient styled divider.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)