How do I put an image in edit text?… here is a solution to the problem.
How do I put an image in edit text?
I
want to put an implementation search in my app because I need to make a search bar like we see in the google bar image at the end of the text field. I’ve tried using FrameLayout and placing EditText and images, but it doesn’t work: How do I do it.
Solution
Simply use RelativeLayout to place a small ImageView on top of your EditText. Don’t forget to adjust the fill of the EditText so that the text doesn’t appear below the ImageView.