How to place an image in the edittext?


I want to place implement search in my app for that I need to make a search bar like we see in the google bar image at the end of the text field. I have tried using FrameLayout and I place EditText and image, but it doesn' work ..How do I make it.

Use this inside your EditText


this will place image inside your EditText..I hope this will help you..