I am using an EditText and a Button, when the Button is clicked, the content of the EditText should be shown in a Toast message.
Here is what I tried so far:
public void cLickFuntion(View view){
EditText name=(EditText)findViewById(R.id.TvName);
Toast.makeText(getApplicationContext(),"Hello"+ name.getText().toString(),Toast.LENGTH_SHORT).show();
}