Relative Content

Tag Archive for androidkotlinandroid-jetpack-composeandroid-compose-textfield

How to use visual transformation in Basictextfield jetpack compose

I want to apply a visual transformation to a BasicTextField in Jetpack Compose. I’ve tried some code, but I’m facing several issues. For example, the cursor doesn’t stay in the correct position, and when pressing backspace, the cursor moves to the wrong place.

How to use visual transformation in Basictextfield jetpack compose

I want to apply a visual transformation to a BasicTextField in Jetpack Compose. I’ve tried some code, but I’m facing several issues. For example, the cursor doesn’t stay in the correct position, and when pressing backspace, the cursor moves to the wrong place.

wrong keyboard is shown for compose TextField when app comes from background

I am migrating my application from Android to Jetpack Compose and for now i am using ComposeView inside fragments. Inside Login Fragment there is a OutlinedTextField which must accept Phone number only. When app launches for first time when TextField gains focus correct keyboard is shown but when app goes to background and comes to foreground again,, normal keyboard is opened upon clicking TextField.