It looks like `ExposedDropdownMenu` from material ...
# compose
c
It looks like
ExposedDropdownMenu
from material android isn't available out of the box. Does anyone have a good gist to use as a replacement? I'm trying to create this from the docs.
c
Thanks @nglauber! Really wish this was standard enough to come out of the box, but thank you for your impl. Looks great
👍 1
@nglauber last question. Do you know how one would go about tinting it purple like I have in the screenshot?
n
You can do this:
Copy code
OutlinedTextField(
    value = text.value,
    onValueChange = { text.value = it },
    label = { Text(text = "Country", color = Color.Red) }, // << for the label
    modifier = Modifier.fillMaxWidth(),
    colors= TextFieldDefaults.outlinedTextFieldColors(
        unfocusedBorderColor = Color.Red // << for the border
    )
)
1