Thursday, August 11, 2011

Android ListView Disable Divider Line and Background Color

Android ListView Disable Divider Line  and Background Color

in android listview if u don't want divider line u have to add this line in listview tag
android:divider="#00000000"
 android:dividerHeight="0dip"

if u don't want background color u have add this line
 android:cacheColorHint="#00000000"

<ListView android:layout_height="fill_parent"
 android:id="@+id/albumListView"
 android:cacheColorHint="#00000000"
 android:divider="#00000000"
 android:dividerHeight="0dip"
  android:layout_width="fill_parent">
  </ListView>

Check out this may be help you

Related Posts Plugin for WordPress, Blogger...