Is there any widget like EditText which contains a cross button, or is there any property for EditText by which it is created automatically? I want the cross button to delete whatever text written in EditText.
Is there any widget like EditText which contains a cross button, or is there
Share
Use the following layout:
You can also use the button’s id and perform whatever action you want on its onClickListener method.