Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit e09985783fd9d8224d9ef8393e91531384c8391e
Author: Matvei Malkov <malkov@google.com>
Date: Tue Aug 04 15:36:34 2020
Polish Scaffold API
make FabPosition enum to be top-level, remove unnecessary exposed functionality, added drawer-related param and a Modifier
Change-Id: Ic6f7bdd21d469227675b5e59a6b32c592c1ff9e5
Relnote: "bottomBarSize, fabSize and others and not available anymore in ScaffoldState. Use Modifier.onPosition instead on the component you'd like to know the size of. contentColor and Modifier pamateres have been added to Scaffold"
Fixes: 161811485
Fixes: 159979032
Fixes: 161450249
Fixes: 157174382
Test: adjusted accordingly
M ui/ui-material/api/current.txt
M ui/ui-material/api/public_plus_experimental_current.txt
M ui/ui-material/api/restricted_current.txt
M ui/ui-material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/DynamicThemeActivity.kt
M ui/ui-material/samples/src/main/java/androidx/compose/material/samples/ScaffoldSamples.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/ScaffoldTest.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt
https://android-review.googlesource.com/1387801
Branch: androidx-master-dev
commit e09985783fd9d8224d9ef8393e91531384c8391e
Author: Matvei Malkov <malkov@google.com>
Date: Tue Aug 04 15:36:34 2020
Polish Scaffold API
make FabPosition enum to be top-level, remove unnecessary exposed functionality, added drawer-related param and a Modifier
Change-Id: Ic6f7bdd21d469227675b5e59a6b32c592c1ff9e5
Relnote: "bottomBarSize, fabSize and others and not available anymore in ScaffoldState. Use Modifier.onPosition instead on the component you'd like to know the size of. contentColor and Modifier pamateres have been added to Scaffold"
Fixes: 161811485
Fixes: 159979032
Fixes: 161450249
Fixes: 157174382
Test: adjusted accordingly
M ui/ui-material/api/current.txt
M ui/ui-material/api/public_plus_experimental_current.txt
M ui/ui-material/api/restricted_current.txt
M ui/ui-material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/DynamicThemeActivity.kt
M ui/ui-material/samples/src/main/java/androidx/compose/material/samples/ScaffoldSamples.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/ScaffoldTest.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt
Description
When moving Semantics to modifiers, I noticed that Scaffold does not provide a modifier even though it provides a layout.