Highlight for selected item in expandable list

后端 未结 11 2104
攒了一身酷
攒了一身酷 2021-01-31 21:25

I have a layout where I have an expandable list in a fragment on the left and a details fragment on the right. This all works fine.

Now I would like to indicate what

11条回答
  •  旧时难觅i
    2021-01-31 21:51

    This simple solution has helped me when I was faced with the same question as the author

    I have a layout where I have an expandable list in a fragment on the left and a details fragment on the right. This all works fine. Now I would like to indicate what item on the left is having it's details shown on the right and here I'm having a problem.

    To indicate what item in expandable list is selected go to ExpandableListView properties (in layout) and chose color for listSelector.

提交回复
热议问题