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

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

c# - WPF Expander overlay used in ItemsControl -

class - Kivy: how to instantiate a dynamic classes in python -