Colton Idle
02/16/2022, 5:02 AMclickable
modifier on an OutlinedTextField
. Unfortunately the clickable ripple is a square shape vs filling in the rounded shape of the OutlinedTextField.
If I use clip(MaterialTheme.shapes.small)
then it looks perfect BUT the floating label will be cut off. Any other route I can take to make sure only the clickable ripple is clipped?Chris Sinco [G]
02/17/2022, 5:53 PMColton Idle
02/17/2022, 9:21 PMBox(
modifier =
// Use shape small as that's what OutlinedTextField uses internally
Modifier
.padding(48.dp)
.clip(MaterialTheme.shapes.small)
.clickable {
}) {
OutlinedTextField(
"<mailto:meemail@gmail.com|meemail@gmail.com>",
{},
label = { Text("Some long-ish description. Some long-ish description. Some long-ish description") },
enabled = false
)
}
Chris Sinco [G]
02/18/2022, 1:13 AMColton Idle
02/18/2022, 1:15 AMChris Sinco [G]
02/18/2022, 1:16 AMColton Idle
02/18/2022, 1:17 AMChris Sinco [G]
02/18/2022, 1:55 AM