I want to have a row of squared shaped buttons. It should act like radio buttons so that only one can be selected at a time. But it should seem like ToggleButtons. Which is having a square shape that contains the text and when the user clicks it toggles.
How can I do this? Can anyone give me a sample? I'm willing to do it in XML not programmatically.
I want it to look like this with texts inside
EDIT: A better way to ask this question: How can I customize a RadioButon group in a way that they look like ordinary Buttons?