Fixed
Status Update
Comments
co...@google.com <co...@google.com>
co...@google.com <co...@google.com>
co...@google.com <co...@google.com> #2
the same issue for SmallTopAppBar:
na...@google.com <na...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 46c69840b7e4462f71a2289213f2771ae7702c9f
Author: Shalom Gibly <sgibly@google.com>
Date: Wed Oct 12 16:05:59 2022
Updates medium and large top app bar background
Updates to apply the same background color to both part of the Medium or
Large top app bar.
This change also allows such a top app bar to be made transparent.
Bug: 249688556
Bug: 250838918
Test: AppBarTest passing
Relnote: "Updates Material3 Medium and Large top app bars to apply the
same background color across their entire surface, and to allow setting
overriding the default colors with transparent color values."
Change-Id: I67659d8754b953165a5b2fa3c7a5720a0976665e
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
https://android-review.googlesource.com/2253154
Branch: androidx-main
commit 46c69840b7e4462f71a2289213f2771ae7702c9f
Author: Shalom Gibly <sgibly@google.com>
Date: Wed Oct 12 16:05:59 2022
Updates medium and large top app bar background
Updates to apply the same background color to both part of the Medium or
Large top app bar.
This change also allows such a top app bar to be made transparent.
Bug: 249688556
Bug: 250838918
Test: AppBarTest passing
Relnote: "Updates Material3 Medium and Large top app bars to apply the
same background color across their entire surface, and to allow setting
overriding the default colors with transparent color values."
Change-Id: I67659d8754b953165a5b2fa3c7a5720a0976665e
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
co...@google.com <co...@google.com> #4
I encountered this issue, on what version of material 3 has this been fixed?
co...@google.com <co...@google.com> #5
This is my workaround for this issue
MaterialTheme(
colorScheme = MaterialTheme.colorScheme.copy(
//The color you want for the second top app bar
surface = MaterialTheme.colorScheme.primary
),
typography = MaterialTheme.typography
) {
LargeTopAppBar(
modifier = Modifier.background(MaterialTheme.colorScheme.primary),
title = {
Text("Wednesday")
},
)
}
Description
When the app is running in a COMPACT area, both List-Detail and Supporting Pane can show either the main
Composable
(List
orMain
) or the additional one (Detail
,Support
,Extra
). When you are in the secondary one and press back, the current behaviour is to pop out of theScaffold
completely, should we add a back handler that when inCOMPACT
would pop the secondary one back to the main one?As an example, could this be the default behaviour?