title: Android Text View And Edit Text Visible On Button Click
body: <pre><code>&lt;Button
                  android:layout_width="wrap_content"
                  android:layout_height="40dp"
                  android:text="Contact" /&gt;
              &lt;TextView
  
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Home"/&gt;
              &lt;EditText
                  android:textSize="@dimen/bootstrap_button_default_font_size"
                  android:id="@+id/edithome"
                  android:layout_width="match_parent"
                  android:layout_height="35dp" /&gt;
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Mobile"/&gt;
              &lt;EditText
                  android:textSize="@dimen/bootstrap_button_default_font_size"
                  android:id="@+id/editmobile"
                  android:layout_width="match_parent"
                  android:layout_height="35dp" /&gt;
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Work"/&gt;
              &lt;EditText
                  android:textSize="@dimen/bootstrap_button_default_font_size"
                  android:id="@+id/editwork"
                  android:layout_width="match_parent"
                  android:layout_height="35dp" /&gt;
  </code></pre>
  
  <ol>
  <li>This is my Layout with one Button and Text View and Edit Text.</li>
  <li>My requirement is initially the text view and edit text are invisible.</li>
  <li>When ever the button is clicked then only it should show.</li>
  <li>Can anyone help me doing this.</li>
  <li>I'm new to android.</li>
  <li>Thanks in Advance. <a href="http://i.stack.imgur.com/kddrB.png" rel="nofollow">This is what I want when the Button is clicked</a></li>
  </ol>