Fix bug 3357208 - List selector shows as dark black on first pressed state
Make sure AbsListView selector drawable state gets configured on touch. Change-Id: Ic5863ee05517b426585f59aaf52ba75b72d8c020
This commit is contained in:
@@ -2642,6 +2642,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
|
||||
setPressed(true);
|
||||
layoutChildren();
|
||||
positionSelector(mMotionPosition, child);
|
||||
refreshDrawableState();
|
||||
|
||||
final int longPressTimeout = ViewConfiguration.getLongPressTimeout();
|
||||
final boolean longClickable = isLongClickable();
|
||||
|
||||
Reference in New Issue
Block a user