title: EditText appear only when i clicked on ImageButton
body: <p>I would like to make appear an <code>textfield</code> for put text inside when I click on a <code>Imagebutton</code> on my main page, I tried some ways to do it but my <code>textfield</code> appear every time like this and its not what I want</p>
  
  <pre><code>serv = (ImageButton) findViewById(R.id.serverpref);
          serv.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
                  txtServ = (EditText) findViewById(R.id.txtServ);
              }
          });
  </code></pre>
  
  <p>how should I do?</p>