I have a menu item in the action bar (toolbar actually) that when clicked, shows a list of items to choose from, similar to radio-buttons:
You should use action layout
and then the action layout can have the textview with divider.
then you can add the click listener in code