title: How to remove layout anchor_property of fab in programmatically?
body: <p>I have added layout_anchor property on fab in layout xml. After clicking a button the fab should position on end of the screen. To achieve that I am thinking to add gravity property. But how do i remove layout_anchor property programmatically. </p>
  
  <p><strong>layout.xml</strong></p>
  
  <pre><code>   &lt;com.samsoft.sam.Fab
          android:id="@+id/fab"
          app:layout_anchor="@id/asd"
          app:layout_anchorGravity="top|end"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" /&gt;
  </code></pre>
  
  <p>The above is my fab code and it positions perfectly, now I need to replace layout anchor property with android:gravity="top|end" programmatically. Please help me.</p>