I have a EditText and near to it I have a button with the cross.
What I want is to know the Function to put in my ButtonX.setOnclickListener to clear the EditText !! 
is that something like setClear() or something ? 
Thank you !
I have a EditText and near to it I have a button with the cross.
What I want is to know the Function to put in my ButtonX.setOnclickListener to clear the EditText !! 
is that something like setClear() or something ? 
Thank you !
try this:
//inside onClick
yourEditText.setText("");
doing this, you set a empty text
