D
D
Denis2017-05-21 19:05:38
Android
Denis, 2017-05-21 19:05:38

How to apply a standard style to an object in code?

Good day.
Tell me how to apply the standard style (MaterialDesign) to the element in the code, in my case to

AlertDialog.Builder builderAlert = new AlertDialog.Builder(getActivity(),  ?????)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2017-05-21
@lacredin

Don't use AlertDialog. Use DialogFragment. Immediately get a bunch of pluses and get away from a bunch of minuses. And then I wang the question after N time "how to restore the state of the dialogue after the screen is rotated."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question