Closed thinhlai closed 3 years ago
Hi, I think this is a bug of Android dialog implementation and the recommended solution will be using DialogFragment instead. : )
I checked with our demo app and replace the implementation with AppCompatDialogFragment did fix the issue. : )
Description: Dialog bounds is not correct after orientation change without activity recreation (activity has configChanges=orientation attribute)
How to reproduce it
1 . Start app at portrait -> then click button to show alert dialog.
Expected behavior: Dialog bounds is showed correctly after orientation change
Source code: TestDialog.zip
Android API version: Any Android API versions
Material Library version: 1.5.0-alpha04
Device: Any devices