title: Android - Can't Click on Button
body: <p>I have a button that is declared "gone" in the XML file:</p>
  
  <pre><code>android:visibility="gone" 
  </code></pre>
  
  <p>Therefore, by default the button is hidden.  The button will become visible depending on another condition in the .java by the following line.:</p>
  
  <pre><code>smsexplain.setVisibility(0);
  </code></pre>
  
  <p>I have set up a proper <code>onClickListener</code> for the button via:</p>
  
  <pre><code>Button edit = (Button) findViewById(R.id.edithookup_req);
          edit.setVisibility(0);
          edit.setOnClickListener(onEdit);
  </code></pre>
  
  <p>The problem arises in runtime. The button shows up like it is suppose to; however, the button cannot be touched.  The only way to set off the <code>onClickListener</code> is to use the D-pad or scroll-ball on the physical phone.</p>
  
  <p>Any ideas? </p>