1

First I'm using Anko library, Kotlin, Java in my project. I have an android app that test skills in French so I want to make a part of Textview editable its something like this (Solo Learn): https://i.stack.imgur.com/bfric.png I try :

je mang$ une pomme

then split String with $ and add editText in place of $ but it's not a good idea using web view also it's not a good idea even its work thanks in advance.

1 Answers1

1

You can add addTextChangedListener to EditText view and add prefix or suffix, you need to be non-editable.

Check this previous question also ->

Put constant text inside EditText which should be non-editable - Android

Nuwan Alawatta
  • 1,812
  • 21
  • 29