I would like to have an EditText with one modification: on the right but still inside the EditText there should an arrow pointing downwards that I can set OnClickListener to so that when the user clicks on the arrow it displays a menu.
What is the best way to do this?
I did this by putting
EditTextand a Button intoRelativeLayout, the Button (which hascustom background drawable) is overlapping theEditBox.When user clicks on it, the
EditBoxdoesn’t receive theclick event.