I have applied a shape for a button like:
Well I know it's way too late But here is a solved example
and my header_text_view_selector
header_text_view_selector
So basically i m creating a rounded textview with selector. Here i m handling only state_selected and not_selected. Hope it helps
textview
state_selected
not_selected