Vsevolod Ganin
10/31/2020, 12:38 AMDropdownMenu and DropdownMenuItem but I can’t figure what to put in toggle to make it look like from design doc. It seems that there should be either TextField or OutlineTextField but these are very unfriendly when I try to mute their text editing capabilitiesDoris Liu
10/31/2020, 12:58 AMText (with a click listener) in toggle, as opposed to TextField? Text is designed to be read-only, so you don't need to worry about disabling text editing.Vsevolod Ganin
10/31/2020, 1:02 AMText just has no styling. TextField on the other hand is from material design and has the styling just what I needVsevolod Ganin
10/31/2020, 1:06 AMTextInputLayout in Material Components for Android by the way. I thought the same logic would apply to Material in ComposeDoris Liu
10/31/2020, 1:43 AMAmbientTextStyle.current didn't work for you?Vsevolod Ganin
10/31/2020, 2:04 AMAmbientTextStyle.current just contains some text parameters which were provided earlier. TextField has its own distinctive values for styling. Besides text parameters, TextField declares distinctive paddings, sizes, it positions leading/trailing icons in a way, etc. I just don’t want to implement these specs again for read-only case though it’s perfectly valid option