Why android: listSelector incorrectly changes from Activity to Activity

Steps to play - this happens on Android 4.2.2 - I have not seen this happen on Android 4.2.1

  • Answer a few questions, exit the application
  • Return to the app
  • select a set of questions - this is holo_LIGHT_blue
  • go to another action (for example, an information screen) and return
  • select a set of questions - this is holo_DARK_blue
  • NOTE. I do not change android: list_selector, I use Android by default.

Do you think something is cached by the system?

<ListView android:id="@+id/landing_lv" android:layout_width="wrap_content" android:layout_height="fill_parent" android:cacheColorHint="@android:color/transparent" android:divider="@color/white_alpha" android:dividerHeight="1dip" android:scrollingCache="false" android:animationCache="false" android:drawSelectorOnTop="false" android:padding="0dip" /> 

This is the application url if you want to try it, but I think this question can be answered without downloading it. https://play.google.com/store/apps/details?id=com.txt2lrn.www

Before - light blueAfter - dark blue

+6
source share
1 answer

It could be a bug with Android, because the same weird behavior happens with Google Currents. Pay attention to the blue color on the left, blue on the right. Please note that this happens on Android 4.2.x, not on Android 4.3

Filed Android bug: http://code.google.com/p/android/issues/detail?id=50196

BeforeAfter

+2
source

All Articles