Fixed
Status Update
Comments
po...@google.com <po...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 65325ee6397a9e768cfc145b112942a8dca6d380
Author: Mihai Popa <popam@google.com>
Date: Fri Jun 11 14:35:34 2021
Alow Dialogs to use the entire screen width
Relnote: "Dialogs are now able to use the entire screen width."
Fixes: 190810877
Test: DialogTest
Change-Id: I83929941b29e5afe443b7472ff36e46b1ccc8108
M compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/AlertDialogScreenshotTest.kt
M compose/ui/ui/api/public_plus_experimental_1.0.0-beta10.txt
M compose/ui/ui/api/public_plus_experimental_current.txt
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/window/DialogTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidDialog.android.kt
https://android-review.googlesource.com/1733818
Branch: androidx-main
commit 65325ee6397a9e768cfc145b112942a8dca6d380
Author: Mihai Popa <popam@google.com>
Date: Fri Jun 11 14:35:34 2021
Alow Dialogs to use the entire screen width
Relnote: "Dialogs are now able to use the entire screen width."
Fixes: 190810877
Test: DialogTest
Change-Id: I83929941b29e5afe443b7472ff36e46b1ccc8108
M compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/AlertDialogScreenshotTest.kt
M compose/ui/ui/api/public_plus_experimental_1.0.0-beta10.txt
M compose/ui/ui/api/public_plus_experimental_current.txt
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/window/DialogTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidDialog.android.kt
to...@gmail.com <to...@gmail.com> #3
Seems this was changed as a major breaking change.
By default now dialogs are full screen and to be able to revert to previous state we need usePlatformDefaultWidth = true that require @OptIn(ExperimentalComposeUiApi::class)
Experimental API in production release to just have a dialog the normal size seems hard to explain.
ti...@gmail.com <ti...@gmail.com> #4
I'll second that, seems like it's more appropriate to have usePlatformDefaultWidth defaults to true
Description
No description yet.