I'm using ExpandableListView
in my app and one of the complaints I get from the users is
that when the List
item is expanded it's hard to visually distinguish where the child
item ends and next group item begins.
So I would like to change the background of the child List
item to the different shade.
Brutal attempts that I've made so far were based on directly changing background color and text of the elements inside the child View
item but that leads to loss of hovers and highlights. So my question is - what is a good strategy to achieve the above?
I tried styles
and selectors
but what really bums me is if I change background for child item then I need to add selectors
for all combinations of focus/enabled etc. When all I'm trying to do it to overwrite a single thing.
Is there a way to inherit parent style
and set background
only for non-focused, enabled child item with other styles
retained?