Get your ImageView and EditText programatically.
e1=(EditText)findViewById(R.id.editText1);
e2=(EditText)findViewById(R.id.editText2);
i1=(ImageView)findViewById(R.id.imageView1);
Create an ontouchlistener for all your edit text's and then call setVisibility(View.GONE) on ImageView after checking for the focus of the edit texts.
e1.setOnTouchListener(new View.OnTouchListener()
{
public boolean onTouch(View arg0, MotionEvent arg1)
{
i1.setVisibility(View.GONE);
}
});