gibt es schon ein wenig spielen diese Frage in Bezug auf. Hat eine Lösung basierend auf linearLayouts mit 1dp Views als Teiler und transparentem Hintergrund den Minimalismus auf den Buttons aussehen lassen.

Wir wollen die Tasten Apperance sich ändern, je nach dem Zustand der Taste. (Mehr dazu hier hello form stuff tutorial). Wir ändern die Hintergrundfarbe so, dass der Benutzer beim Drücken der Taste eine Anzeige erhält.
borderless_background.xml (geht im ziehbar Ordner)
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="#33b5e5" />
</shape>
</item>
<item android:state_focused="true">
<shape>
<solid android:color="#0099cc" />
</shape>
</item>
<item>
<shape>
<solid android:color="@android:color/transparent" />
</shape>
</item>
</selector>
Die main.xml wird dann borderless_background Datei verwenden, finden Sie in der Android-Version: Hintergrund-Tag für die Schaltflächen im folgenden Code
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="8dp"
android:orientation="vertical"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="0dp"
android:gravity="center"
android:layout_weight="1.0"
android:textSize="14sp"
android:text="@string/borderless" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:textSize="12sp"
android:autoLink="web"
android:text="@string/source1" />
<View
android:id="@+id/horizontal_divider1"
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_weight="1.0"
android:background="@drawable/borderless_background"
android:textColor="@android:color/white"
android:textSize="16sp"
android:text="Cancel"
android:onClick="cancel" />
<View
android:id="@+id/vertical_divider"
android:layout_width="1dip"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_height="fill_parent"
android:background="@android:color/darker_gray" />
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_weight="1.0"
android:background="@drawable/borderless_background"
android:textColor="@android:color/white"
android:textSize="16sp"
android:text="Next"
android:onClick="next" />
</LinearLayout>
<View
android:id="@+id/horizontal_divider2"
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
</LinearLayout>
Es gibt Warnungen hinsichtlich der Leistung wegen der verschachtelten linearen Layuots, aber die Sache läuft gut auf dem Tablet, das ich getestet habe, also bin ich zu faul, um das zu beheben. Ein Fix würde wahrscheinlich auf dem relativen Layout oder Rasterlayout basieren.
Lassen Sie mich wissen, wenn Sie mit draw9patch Hilfe benötigen. Ich habe es schon einmal gemacht, also würde ich gerne helfen. – EGHDK