title: android - how to set floating action button gravity from right to left programmatically
body: <p>I have a floating action button. I want to change its gravity from right to left with help of my java code.</p>
  
  <p><a href="https://i.stack.imgur.com/fON8k.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fON8k.gif" alt="enter image description here"></a></p>