I know that I should use the ?android:attr/buttonbarbuttonstyle
, but how do I make one of the buttons the default choice that's highlighted in a different color? Is there a way to designate the default button in the XML layout?
Also, will this look the same in the older Android versions if I use Appcompat v21?
Edit: Here's the look I'm going for. The "Explore" button is highlighted (that's what I mean by 'default action'),and the "Share" button is black. If there were more buttons in that button bar, they would be black as well.