Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
je...@google.com <je...@google.com>
im...@google.com <im...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 4d6ec44c5181bc5f2de9dc5db2a82b418f990dab
Author: Max Alfonso-Ying <maxying@google.com>
Date: Wed Feb 01 22:06:41 2023
Add missing text field colors to M3
Bug: b/254284181 , b/264766350
Test: updated
Relnote: "Text field colors now allow customizing input field
and placeholder text colors based on focus and error state. The
`textColor` parameter has been renamed to `unfocusedTextColor`, and
`placeholderColor` has been renamed to `unfocusedPlaceholderColor`."
Relnote: "Text field colors now allow customizing the container
color for filled text fields based on error state with the new
`errorContainerColor` param."
Relnote: "Exposed dropdown menu text field colors have been
updated with parameters to support the new prefix and suffix API."
Change-Id: I9c8b4f070921d64f8a7a3ac74074c12d7773348b
M compose/material3/material3/api/public_plus_experimental_current.txt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/OutlinedTextFieldScreenshotTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/OutlinedTextFieldTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldScreenshotTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldTest.kt
M compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/ExposedDropdownMenu.kt
M compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/SearchBar.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextFieldDefaults.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextFieldImpl.kt
https://android-review.googlesource.com/2320572
Branch: androidx-main
commit 4d6ec44c5181bc5f2de9dc5db2a82b418f990dab
Author: Max Alfonso-Ying <maxying@google.com>
Date: Wed Feb 01 22:06:41 2023
Add missing text field colors to M3
Bug:
Test: updated
Relnote: "Text field colors now allow customizing input field
and placeholder text colors based on focus and error state. The
`textColor` parameter has been renamed to `unfocusedTextColor`, and
`placeholderColor` has been renamed to `unfocusedPlaceholderColor`."
Relnote: "Text field colors now allow customizing the container
color for filled text fields based on error state with the new
`errorContainerColor` param."
Relnote: "Exposed dropdown menu text field colors have been
updated with parameters to support the new prefix and suffix API."
Change-Id: I9c8b4f070921d64f8a7a3ac74074c12d7773348b
M compose/material3/material3/api/public_plus_experimental_current.txt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/OutlinedTextFieldScreenshotTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/OutlinedTextFieldTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldScreenshotTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldTest.kt
M compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/ExposedDropdownMenu.kt
M compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/SearchBar.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextFieldDefaults.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextFieldImpl.kt
im...@google.com <im...@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.1.0-alpha07
im...@google.com <im...@google.com> #4
The fix should be available in AGP 4.2 Beta 1
go...@moneybrilliant.com.au <go...@moneybrilliant.com.au> #5
Thanks! That's what I did to get around, surrounded with double-quotes.
pl...@gmail.com <pl...@gmail.com> #6
That issue exists (again) and that workaround still works
Description
Version of Gradle: 6.6.1
Android Studio 4.2 Canary 10
Build #AI-202.6397.94.42.6811877, built on September 4, 2020
Runtime version: 11.0.7+10-b765.53 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.6
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 16
Registry: ide.balloon.shadow.size=0
Non-Bundled Plugins: com.mallowigi, com.developerphil.adbidea, com.chrisrm.idea.MaterialThemeUI
Steps to Reproduce:
1. Add a string resource to XML:
<string name="intro_text">\n\nHello</string>
2. Read the string either using getString() or getText()
3. Expected: "\n\nHello"
Actual : "Hello"
This was working as expected before Gradle Pluging 4.2.0-alpha05. Either alpha06 or alpha07 broke this.