In most examples for ICS + button panels, namely this one, by a Google engineer: https://gist.github.com/2357306
I see a link to these styles:
style="?android:attr/buttonBarStyle" style="?android:attr/buttonBarButtonStyle"
So, I opened Android attrs.xml, and this is what I see:
<attr name="buttonBarButtonStyle" format="reference" /> <attr name="buttonBarStyle" format="reference" />
What is it. So maybe this is a style? Here styles.xml:
<style name="Widget.Holo.ButtonBar"> <item name="android:divider">?android:attr/dividerVertical</item> </style> <style name="Widget.Holo.ButtonBar.Button"> </style>
A? Yet Eclipse and devices can display them as follows:

So how does he get the right sizes and stuff? The reason I need them is because I want to use this buttonBarStyle style on Gingerbread and below, which do not have the buttonBarStyle attribute. Thus, they do wrong:

source share