title: want to make some views invisible during runtime in android application
body: <p>this is my main .xml file :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:padding="5dip"
      &gt;
  
  &lt;TextView
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  
  android:textColor="@color/mbackground1"
  android:gravity="center_horizontal"
  android:text="@string/decode_label"
  android:padding="5dip" 
  /&gt;
  
  &lt;TextView
  android:id="@+id/mytext"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:gravity="center_horizontal"
  android:background="@color/mbackground2" 
  android:textColor="@color/mytextcolor" 
  android:padding="5dip"
  /&gt;
  
  
   &lt;TextView
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:text="@string/continue_label"
  android:gravity="center_horizontal"
  android:textColor="@color/mytextcolor"
  android:padding="5dip"
  /&gt;
  
  &lt;Button 
  android:id="@+id/webbutton"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:text="@string/web_button"
  android:textColor="@color/mytextcolor"
  /&gt;
  
  &lt;TextView
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:text="@string/continue_label1"
  android:gravity="center_horizontal"
  android:textColor="@color/mytextcolor"
  android:padding="5dip"
  /&gt;
  
  &lt;Button 
  android:id="@+id/callbutton"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:text="@string/call_button"
  android:textColor="@color/mytextcolor"
  /&gt;
  &lt;TextView
  
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:text="@string/continue_label2"
  android:gravity="center_horizontal"
  android:textColor="@color/mytextcolor"
  android:padding="5dip"
  /&gt;
  
  &lt;Button 
  android:id="@+id/emailbutton"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:text="@string/sendemail_button"
  android:textColor="@color/mytextcolor"
  /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>i want that based on output at runtime it should show only one textview and button corresponding to that output. im defining layout in main.xml file and also i am ew in this field.</p>
  
  <p>does any one have any idea.
  thanks in advance</p>