title: how to invisible a Layout control in android
body: <p>i'm using following code to set "visibility=gone" for a linear layout </p>
  
  <pre><code>      //onCreate method
        //setcontentview
          . . . . 
        LinearLayout rlayout1 = (LinearLayout) findViewById(R.id.readerBottomLayout);
         rlayout1.setVisibility(2);
  </code></pre>
  
  <p>But the controls are still visible when activity runs.why? any idea?</p>