I am not so sure,can
QuickAction[
^] help you a bit?
Or what about trying this type of code?
View myView = (View)findViewById(R.id.my_view);
myView.setOnLongClickListener(new OnLongClickListener() {
@Override
public void onLongClick(View v) {
EditText et=(EditText)v;
Toast.makeText(this,et.getText().toString(), Toast.LENGTH_SHORT).show();
}
});
N.B.OnLongClickListener is for the purpose that user will tap over the textbox for sometime & then the toast will show what's in it.