Jetpack Compose Change Textfield Background Color

December 17, 2021
OutlinedTextField(
    // modifier = Modifier.background(color = MaterialTheme.colors.surface.copy(alpha = 0.3f)),
    value = "", 
    onValueChange = {  },
    colors = TextFieldDefaults.textFieldColors(
        backgroundColor = MaterialTheme.colors.surface.copy(alpha = 0.3f)
    )
)
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.