- Product: Android App
- Programming language: kotlin
When using XML to create the UI. There is an option for a password field with the password visible to the user.
All the developer have to do is set the inputType = TYPE_TEXT_VARIATION_VISIBLE_PASSWORD
In Jetpack Compose there is the option to create a textField(). Then pass in visualTransformation = PasswordVisualTransformation()
to make the typing turn into dots. However, it does not preview the letters for a few seconds before turning into dots like how it was with XML.
Was wondering if there is an equivalent jetpack compose function of a password field with the password visible to the user for a few seconds before it turns into a dot.
Thank you