Jetpack Compose Change Textfield Background Color

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)    ))

❀️ Is this article helpful?

Buy me a coffee β˜• or support my work via PayPal to keep this space πŸ–– and ad-free.

Do send some πŸ’– to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

πŸ‘Ά Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.