Answer the question
In order to leave comments, you need to log in
Is it possible to dynamically add images inside a note?
The body of the note is an editText. Is there any way to add images from the gallery inside it? I saw this in my notes on my phone and really want to understand how to repeat it. So far, it is only possible to load the image outside the editTexta and into the ImageView already created in advance:
btAddImage.setOnClickKustener { val content = registerForActivityResulr(ActivityResultContracts.GetContent()) { imageUri: Uri? -> image.load(imageUri) }
content.launch("image/*") }
Answer the question
In order to leave comments, you need to log in
No, EditText can't do that. I think there is a custom view.
Look at this application, maybe
https://4pda.to/forum/index.php?showtopic=1017677
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question