title: Set android widget visibility dynamycally
body: <p>Okay i have one EditText and one spinner.
  My goal is if item 1 on spinner selected the EditText visibility is true, and if item 2 selected EditText visibility is false. what the code for reach that goal ?
  i use spiner get selected id like this :</p>
  
  <pre><code>String tipe = spiner.getSelectedItem().toString();
  if (tipe=="item2"){
  //edittext.visible = false; &lt;-- i don't know how to make/what code this visibility become false
  }
  </code></pre>