Fixed
Status Update
Comments
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 815efc4dea3c65634090fd272b5bf9d9cf68d70b
Author: Matvei Malkov <malkov@google.com>
Date: Tue Aug 04 13:35:42 2020
Drawer API polish
Added few paramerets for better customization, refactored samples to make them copyable
Change-Id: I236555ff68b57685c4709ba24a6464e7fba0c10a
Relnote: modifier, backgroundColor, contentColor and scrimColor customization params has been added to Drawers
Fixes: 161804378
Test: should pass
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/samples/src/main/java/androidx/compose/material/samples/DrawerSamples.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/DrawerTest.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Drawer.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt
https://android-review.googlesource.com/1385874
Branch: androidx-master-dev
commit 815efc4dea3c65634090fd272b5bf9d9cf68d70b
Author: Matvei Malkov <malkov@google.com>
Date: Tue Aug 04 13:35:42 2020
Drawer API polish
Added few paramerets for better customization, refactored samples to make them copyable
Change-Id: I236555ff68b57685c4709ba24a6464e7fba0c10a
Relnote: modifier, backgroundColor, contentColor and scrimColor customization params has been added to Drawers
Fixes: 161804378
Test: should pass
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/samples/src/main/java/androidx/compose/material/samples/DrawerSamples.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/DrawerTest.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Drawer.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt
Description
API feedback for Drawers:
gesturesEnabled
drawerContent
should be before optional parameteresModifier
parameterscrimColor
backgroundColor
andcontentColor