Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Before I saw this ticket I created this change aosp/1292294 which basically improves the documentation and the sample.
Let me know what you think. But if you still prefer we remove the default from the modifier, I am ok with that too.
jb...@google.com <jb...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 6a6faa78e82977ba346a85d5f8d543645e2ba3e7
Author: Anastasia Soboleva <soboleva@google.com>
Date: Wed Apr 22 19:48:41 2020
TextField fills max width
Fixes: 154638552
Test: new tests and checked text field demos
Relnote: "TextField update - in horizontal dimension it will occupy all available space granted to it"
Change-Id: Ib08dfc0363c5a3521f68c750ba6dc490a25081d3
M ui/ui-foundation/api/0.1.0-dev10.txt
M ui/ui-foundation/api/current.txt
M ui/ui-foundation/api/public_plus_experimental_0.1.0-dev10.txt
M ui/ui-foundation/api/public_plus_experimental_current.txt
M ui/ui-foundation/api/restricted_0.1.0-dev10.txt
M ui/ui-foundation/api/restricted_current.txt
M ui/ui-foundation/src/androidTest/java/androidx/ui/foundation/TextFieldTest.kt
M ui/ui-foundation/src/main/java/androidx/ui/foundation/TextField.kt
https://android-review.googlesource.com/1292294
Branch: androidx-master-dev
commit 6a6faa78e82977ba346a85d5f8d543645e2ba3e7
Author: Anastasia Soboleva <soboleva@google.com>
Date: Wed Apr 22 19:48:41 2020
TextField fills max width
Fixes: 154638552
Test: new tests and checked text field demos
Relnote: "TextField update - in horizontal dimension it will occupy all available space granted to it"
Change-Id: Ib08dfc0363c5a3521f68c750ba6dc490a25081d3
M ui/ui-foundation/api/0.1.0-dev10.txt
M ui/ui-foundation/api/current.txt
M ui/ui-foundation/api/public_plus_experimental_0.1.0-dev10.txt
M ui/ui-foundation/api/public_plus_experimental_current.txt
M ui/ui-foundation/api/restricted_0.1.0-dev10.txt
M ui/ui-foundation/api/restricted_current.txt
M ui/ui-foundation/src/androidTest/java/androidx/ui/foundation/TextFieldTest.kt
M ui/ui-foundation/src/main/java/androidx/ui/foundation/TextField.kt
b9...@gmail.com <b9...@gmail.com> #4
Thanks for quick fix!
Description
Version used:2.2.0-rc02
Devices/Android versions reproduced on:
adb shell am start -W -a android.intent.action.VIEW -d "
And you will see only F on screen.