I have to show a custom PIN field, for each numeric keyboard entry. Instead of using BasicTextField I would like to show custom drawables for entered numeric values:
The example above shows a 2 digit pin (doen not make sense, just for example purpose), whereas the first digit (green) was entered:
- If no numeric was entered for current digit --> red bordered circle (second digit not entered)
- If a numeric was entered for current digit --> white circle with green border (first digit was entered)
I could not manage to customize PIN designs for BasicTextField with Jetpack Compose. What would be an easy way to do so? Is it possible to customize BasicTextField?
I managed to draw circles in a row (above screenshot for an example) via androidx.compose.ui.graphics.drawscope.drawCircle(). I could nto connect the keyboard to it?

You can use a
BasicTextField+OutlinedTextFieldDecorationBox: