Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

make my button style like the AlertDialog button Style [closed]

Tags:

android

I want to make my buttons style like the following enter image description here

I want to implement these buttons with my custom view I mean without using the AlertDialog

like image 957
Mohammed Subhi Sheikh Quroush Avatar asked Jan 21 '13 16:01

Mohammed Subhi Sheikh Quroush


1 Answers

If you prefer to use standard android attributes, see my answer here.

In short, for your buttons set style="?android:attr/buttonBarButtonStyle" and put them in a LinearLayout that has style="?android:attr/buttonBarStyle".

like image 115
hadi Avatar answered Nov 16 '22 03:11

hadi