06/29/2022, 3:31 PM
How to add drawable's next to textfield in jetpack compose? I am trying to figure out how to add a drawable to a text within a textfield (OutlinedTextField) but without any success. I have already created a drawable in the drawable folder. Do I need to create a seperate composable to insert it or can I directly add it inside the textfield ? This is my textfield in the composable: Spacer(modifier = Modifier.height(20.dp)) OutlinedTextField( value = username.value, onValueChange = { newText ->...