If you do not want to change shape of listitems on scrolling of listview then apply
android:scrollingCache="false"
its work for me
2.If you do not want to change shape of item on click then apply
android:listSelector="@drawable/list_item_selector"
List_item_selector.xml
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:state_focused="true"
android:drawable="@layout/transparent_bg"/>
<item android:state_pressed="true"
android:drawable="@android:color/transparent"
/>
</selector>
3. If you do not want to show scrollbars
apply
android:scrollbars="none"
android:scrollingCache="false"
its work for me
2.If you do not want to change shape of item on click then apply
android:listSelector="@drawable/list_item_selector"
List_item_selector.xml
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:state_focused="true"
android:drawable="@layout/transparent_bg"/>
<item android:state_pressed="true"
android:drawable="@android:color/transparent"
/>
</selector>
3. If you do not want to show scrollbars
apply
android:scrollbars="none"
No comments:
Post a Comment