ioschedアプリのソースから、このButtonBarクラスを思いつきました:
/**
 * An extremely simple {@link LinearLayout} descendant that simply reverses the 
 * order of its child views on Android 4.0+. The reason for this is that on 
 * Android 4.0+, negative buttons should be shown to the left of positive buttons.
 */
public class ButtonBar extends LinearLayout {
    public ButtonBar(Context context) {
        super(context);
    }
    public ButtonBar(Context context, AttributeSet attributes) {
        super(context, attributes);
    }
    public ButtonBar(Context context, AttributeSet attributes, int def_style) {
        super(context, attributes, def_style);
    }
    @Override
    public View getChildAt(int index) {
        if (_has_ics)
            // Flip the buttons so that "OK | Cancel" becomes "Cancel | OK" on ICS
            return super.getChildAt(getChildCount() - 1 - index);
        return super.getChildAt(index);
    }
    private final static boolean _has_ics = Build.VERSION.SDK_INT >= 
                                        Build.VERSION_CODES.ICE_CREAM_SANDWICH;
}
これはLinearLayout「OK」ボタンと「キャンセル」ボタンが入るものであり、それらを適切な順序で配置することを処理します。次に、これをボタンを配置するレイアウトに配置します。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:divider="?android:attr/dividerHorizontal"
          android:orientation="vertical"
          android:showDividers="middle">
    <!--- A view, this approach only works with a single view here -->
    <your.package.ButtonBar style="?android:attr/buttonBarStyle"
        android:id="@+id/buttons"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:weightSum="1.0">
        <Button style="?android:attr/buttonBarButtonStyle"
            android:id="@+id/ok_button"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="0.5"
            android:text="@string/ok_button" />
        <Button style="?android:attr/buttonBarButtonStyle"
            android:id="@+id/cancel_button"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="0.5"
            android:text="@string/cancel_button" />
    </your.package.ButtonBar>
</LinearLayout>
これにより、ボーダレスボタンを備えたダイアログの外観が得られます。これらの属性はフレームワークの解像度で見つけることができます。buttonBarStyle垂直方向の仕切りとパディングを行います。HoloテーマのbuttonBarButtonStyleようborderlessButtonStyleに設定されていますが、フレームワークがそれを表示したいので、これはそれを表示するための最も堅牢な方法であると思います。