title: How do I use a FAB(floating action button) to hide or show my edit text box?
body: <p>I am new to material design and plugging and playing with a couple of features. Is there an example I can check out or download any sample that shows me how to hide /show my edit text box upon click? This is my code :</p>
  
  <pre><code>&lt;EditText
              android:id="@+id/messageEdit"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_toLeftOf="@+id/chatSendButton"
              android:autoText="true"
              android:hint="type message" /&gt;
  
          &lt;Button
              android:id="@+id/chatSendButton"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_alignParentRight="true"
              android:background="@color/background_floating_material_dark"
              android:text="Send MSG"
              android:textColor="@color/background_material_light"/&gt;
  </code></pre>
  
  <p>What I am trying to do is contain this in a FAB so when I click the fab button this edittext view (with button)will popup , but once it pops up it stays there until i press the FAB button again. Any such functionality already implemented I can follow? I would prefer the easiest and the most efficient approach available. Any clues?</p>