Loading core/java/android/widget/AbsListView.java +1 −1 Original line number Diff line number Diff line Loading @@ -2663,7 +2663,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te * @return True if the selector should be shown */ boolean shouldShowSelector() { return (!isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); return (isFocused() && !isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); } private void drawSelector(Canvas canvas) { Loading Loading
core/java/android/widget/AbsListView.java +1 −1 Original line number Diff line number Diff line Loading @@ -2663,7 +2663,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te * @return True if the selector should be shown */ boolean shouldShowSelector() { return (!isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); return (isFocused() && !isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); } private void drawSelector(Canvas canvas) { Loading