android - How to style buttons in Alert Dialog Fragment using Material Design? -


I want to change the default button style on a warning dialog.

The standard warning dialog fragment (in Android L) looks like this:

Default warning dialog fragment

I want the right button to style it as a normal button rather than a straight button, Google starts using this method in various dialogs like: < / P>

no border button dialog

Do anyone know that Is it possible, the whole dialogue is b Defense is again being made to scratch?

You can style buttons in themes with attributes: Android: Button Barcode button button style , android: buttonBarNegativeButtonStyle , and android: buttonBarNeutralButtonStyle .


Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

ios - Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? -