Fixed
Status Update
Comments
se...@google.com <se...@google.com>
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit cbca344021ee124a689aae530b7e8809a163e73b
Author: Jose Figueroa <serniebanders@google.com>
Date: Thu Dec 28 14:53:31 2023
[Material3][Card] Update OutlinedCardTokens to latest version
This aligns OutlinedCard colors with the M3 spec
Relnote: Outline color for outlined card is now correctly mapped to OutlineVariant
Test: Updated screenshots
Bug: 310979715
Change-Id: I754802e26a95258d2c3b5b0d9e3030f64b9b630f
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/OutlinedCardTokens.kt
https://android-review.googlesource.com/2892521
Branch: androidx-main
commit cbca344021ee124a689aae530b7e8809a163e73b
Author: Jose Figueroa <serniebanders@google.com>
Date: Thu Dec 28 14:53:31 2023
[Material3][Card] Update OutlinedCardTokens to latest version
This aligns OutlinedCard colors with the M3 spec
Relnote: Outline color for outlined card is now correctly mapped to OutlineVariant
Test: Updated screenshots
Bug: 310979715
Change-Id: I754802e26a95258d2c3b5b0d9e3030f64b9b630f
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/OutlinedCardTokens.kt
se...@google.com <se...@google.com>
pr...@google.com <pr...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3:material3:1.2.0-beta02
androidx.compose.material3:material3-android:1.2.0-beta02
androidx.compose.material3:material3-desktop:1.2.0-beta02
Description
COMPOSE_MATERIAL_3 = "1.1.1"
GOOGLE_MATERIAL_COMPONENTS = "com.google.android.material:material:1.9.0"
Jetpack Compose component used: OutlinedCard
Android Studio Build: Build #AI-231.9392.1.2311.11047128
Kotlin version: 1.8.22
Steps to Reproduce or Code Sample to Reproduce:
OutlinedCard(
modifier = modifier
.weight(1f)
.wrapContentSize()
.clickable(
enabled = onElementClick != null,
onClick = { onElementClick!!.invoke() },
),
// border = BorderStroke(1.dp, MaterialTheme.colorScheme.outlineVariant)
)
Stack trace (if applicable):