Android Question [SOLVED] How to remove image from EditText in Oreo

incendio

Well-Known Member
Licensed User
Longtime User
Hi guys,

I used this code to remove previously added image to an EditText
B4X:
Dim ETxt As JavaObject = EditTxt
ETxt.RunMethod("setCompoundDrawablesWithIntrinsicBounds",Array As Object(BMD,Null,Null,Null))

Those codes worked OK on JellyBean, but with Oreo, didn't work, app just closed.
Unfortunately, can pull the error log, caused it is tested on Oreo belong to others.

Any hint how to solve this?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…