Fixed
Status Update
Comments
ma...@google.com <ma...@google.com>
co...@google.com <co...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit a74c92d7ccc6b439e63a5c4119fe3df1489b75fb
Author: kentfan <kentfan@google.com>
Date: Thu Mar 28 16:31:48 2024
Fix disabled OutlinedButton border color
Test:https://hsv.googleplex.com/6049676993232896
Relnote: """Fixed the border color of `OutlinedButton` when disabled.
Added `ButtonDefaults.outlinedButtonBorder("enabled")` overload that
takes the enabled state."""
Fix: b/318461363
Change-Id: Ie650bd6f38d9802f4040c0f1c90688d66446019b
M compose/material3/material3/api/current.txt
M compose/material3/material3/api/restricted_current.txt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Button.kt
https://android-review.googlesource.com/3018072
Branch: androidx-main
commit a74c92d7ccc6b439e63a5c4119fe3df1489b75fb
Author: kentfan <kentfan@google.com>
Date: Thu Mar 28 16:31:48 2024
Fix disabled OutlinedButton border color
Test:
Relnote: """Fixed the border color of `OutlinedButton` when disabled.
Added `ButtonDefaults.outlinedButtonBorder("enabled")` overload that
takes the enabled state."""
Fix:
Change-Id: Ie650bd6f38d9802f4040c0f1c90688d66446019b
M compose/material3/material3/api/current.txt
M compose/material3/material3/api/restricted_current.txt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Button.kt
na...@google.com <na...@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.3.0-alpha05
androidx.compose.material3:material3-android:1.3.0-alpha05
androidx.compose.material3:material3-desktop:1.3.0-alpha05
Description
Jetpack Compose version: 2023.10.01 BOM
Jetpack Compose component used: Material 3
Android Studio Build: AI-232.10227.8.2321.11231672 (Iguana | 2023.2.1 Beta 1)
Kotlin version: 1.9.21
Description
The Material 3 spec calls for in the disabled state. I've attached screenshots of the expected and actual outlines.
OutlinedButton
outline doesn't visually match what theSteps to reproduce:
Wrap a disabled
OutlinedButton
inMaterialTheme
andSurface
like so: