commit | 5f9f6c3936a8a266bb5dcd31e94d403917f1bbe8 | [log] [tgz] |
---|---|---|
author | Fabrice Di Meglio <fdimeglio@google.com> | Thu Jun 19 12:03:43 2014 -0700 |
committer | Fabrice Di Meglio <fdimeglio@google.com> | Mon Jun 23 18:47:26 2014 -0700 |
tree | 6b25b3415c9f6eb7d1c62967c5b0ef949caff547 | |
parent | ec282845a9730a21873b3483a38579b116b4ad54 [diff] |
Fix PreferenceGroupAdapter highlight code path - do not change the Preference View background. Instead wrap the Preference View into a FrameLayout with the highlighting Drawable as the background - test the View type to force the Preference View creation and not rely on the convert View when highlighting - define a new View type for the highlighting - increment getViewTypeCount() returned value (for the new type) Change-Id: Ie5f19311e11545aba848fd637ec61e43071d8dcf