Fixed
Status Update
Comments
sg...@google.com <sg...@google.com>
sg...@google.com <sg...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit c3bed759a7a041e97b191f6984979800e5c6436c
Author: Shalom Gibly <sgibly@google.com>
Date: Tue Aug 30 13:43:06 2022
Deprecates SmallTopAppBar in favor of TopAppBar
This change deprecates the Material 3 SmallTopAppBar function and
introduces the same functionality as a TopAppBar function.
The change is done to simplify the migration from M2 to M3 and to make
this function more discoverable.
Test: AppBarTest and AppBarScreenshotTest updated
Bug: 226918634
Relnote: "Deprecates the experimental Material 3 SmallTopAppBar function
and introduces and equivalent TopAppBar function. Please migrate your
usage to the new one."
Change-Id: I74404a64a5764ea02895358d2db5dc9bb18c5aba
M compose/integration-tests/demos/src/main/java/androidx/compose/integration/demos/DemoFilter.kt
M compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/AppBarSamples.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
M compose/material3/material3/api/public_plus_experimental_1.0.0-beta02.txt
M compose/material3/material3/api/public_plus_experimental_current.txt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/AppBarScreenshotTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/AppBarTest.kt
M compose/integration-tests/demos/src/main/java/androidx/compose/integration/demos/DemoApp.kt
M compose/material3/material3/integration-tests/material3-catalog/src/main/java/androidx/compose/material3/catalog/library/ui/common/CatalogTopAppBar.kt
M compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/ScaffoldSamples.kt
M compose/material3/material3/integration-tests/material3-catalog/src/main/java/androidx/compose/material3/catalog/library/model/Examples.kt
https://android-review.googlesource.com/2200884
Branch: androidx-main
commit c3bed759a7a041e97b191f6984979800e5c6436c
Author: Shalom Gibly <sgibly@google.com>
Date: Tue Aug 30 13:43:06 2022
Deprecates SmallTopAppBar in favor of TopAppBar
This change deprecates the Material 3 SmallTopAppBar function and
introduces the same functionality as a TopAppBar function.
The change is done to simplify the migration from M2 to M3 and to make
this function more discoverable.
Test: AppBarTest and AppBarScreenshotTest updated
Bug: 226918634
Relnote: "Deprecates the experimental Material 3 SmallTopAppBar function
and introduces and equivalent TopAppBar function. Please migrate your
usage to the new one."
Change-Id: I74404a64a5764ea02895358d2db5dc9bb18c5aba
M compose/integration-tests/demos/src/main/java/androidx/compose/integration/demos/DemoFilter.kt
M compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/AppBarSamples.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
M compose/material3/material3/api/public_plus_experimental_1.0.0-beta02.txt
M compose/material3/material3/api/public_plus_experimental_current.txt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/AppBarScreenshotTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/AppBarTest.kt
M compose/integration-tests/demos/src/main/java/androidx/compose/integration/demos/DemoApp.kt
M compose/material3/material3/integration-tests/material3-catalog/src/main/java/androidx/compose/material3/catalog/library/ui/common/CatalogTopAppBar.kt
M compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/ScaffoldSamples.kt
M compose/material3/material3/integration-tests/material3-catalog/src/main/java/androidx/compose/material3/catalog/library/model/Examples.kt
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit dc5caaf329a6514774e82f6165f2c006991128c8
Author: Shalom Gibly <sgibly@google.com>
Date: Tue Sep 06 11:18:30 2022
Modifies the SmallTopAppBar deprecation to warning
Bug: 226918634
Test: N/A
Change-Id: I6880bf2ffe02a3036526aad508efb0628d115368
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
https://android-review.googlesource.com/2208175
Branch: androidx-main
commit dc5caaf329a6514774e82f6165f2c006991128c8
Author: Shalom Gibly <sgibly@google.com>
Date: Tue Sep 06 11:18:30 2022
Modifies the SmallTopAppBar deprecation to warning
Bug: 226918634
Test: N/A
Change-Id: I6880bf2ffe02a3036526aad508efb0628d115368
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
na...@google.com <na...@google.com> #4
This bug was linked in a change in the following release(s):
androidx.compose.material3:material3:1.0.0-beta02
na...@google.com <na...@google.com> #5
This bug was linked in a change in the following release(s):
androidx.compose.material3:material3:1.0.0-beta03
Description
Using material3-1.0.0-alpha08
When trying to migrate my sample app from m2 to m3, I found that there is no "TopAppBar" equivalent in m3. SmallTopAppBar seems to be the equivalent but finding this required me looking into the spec docs. Could we rename SmallTopAppBar to TopAppBar and make it the default choice?