[the] Android ListView removing edges of the shadow, color, drag the selected ba

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

The following is realized by the XML definition, if required by code, find the corresponding set mode settings.

Remove the ListView slip into the dark shadow of top and bottom edge:

android:fadingEdge="none" android:fadingEdge="none"

The black background removal when the default drag:

android:cacheColorHint="#00000000" android:cacheColorHint="#00000000"

Remove the selected yellow background color:

android:listSelector="#00000000" android:listSelector="#00000000"

Remove the black line between lines:

list.setDivider(null); list.setDivider(null);

The ListView refresh automatically roll to the bottom.:

list.setSelection(msgList.getAdapter().getCount()-1); list.setSelection(msgList.getAdapter().getCount()-1);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Bevis at November 22, 2013 - 10:56 AM