title: How to get back the layout after setting the visibility to GONE in android
body: <p>xml-</p>
  
  <pre><code>&lt;RelativeLayout xmlns:tools="http://schemas.android.com/tools"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/one"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"&gt;
  &lt;RelativeLayout xmlns:tools="http://schemas.android.com/tools"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/two"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" &gt;
  &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>The layout two is hidden after pressing a button with View.GONE, I want the layout two back when I swipe down on the screen, how can I do it, swipe down detection and getting the layout back.</p>