Android Question Error inserting image in EditText with ViewSetting library

Serge Nova

Active Member
Licensed User
Hello everyone, I am trying to insert an image in EditText with this code:

[CODE lang="b4x" title="ViewSetting"]Dim Vs as ViewSetting
Vs.InsertImageIntoEditText(Bmp, EditText1, Vs.MesureMultilineTextHeight(EditText1, EditText1.Text))[/CODE]

But I get this error:
Error.PNG


If anyone can help me or suggest me another way that would be appreciated.

Thanks
 
Please post logs as text. Right click to copy.
Ok Erel, soon I will publish the logs as text.


I'm not familiar with this library but it looks like it creates something similar to CSBuilder: CharSequence / CSBuilder Tutorial

I assume that you don't need the field to be editable. If this is indeed the case then best to use BBCodeView.
Yes it does the exact same thing, thanks a lot for the help Erel
 
Upvote 0
Back
Top