Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Excellent catch. After create() is WAY better than after show(), espectially if using DialogFragments! Commented Nov 25, 2015 at 12:04
  • You are not using the builder class to change the width/height, just the alertDialog object Commented Jan 8, 2016 at 12:03
  • 8
    it didn't work for me between the create and the show, but only after the show. Commented Apr 18, 2016 at 16:28
  • 1
    Should set the window width in an on show listener. Commented Oct 15, 2018 at 18:57