title: Change clans fab menu orientation programmatically
body: <p>I am using <a href="https://github.com/Clans/FloatingActionButton" rel="nofollow noreferrer">clans fab library</a> to create a menu with a set of buttons.</p>
  
  <p>My menu fab as an open direction set to "up", and this works pretty fine if the phone is in portait mode. However if I turn it to landscape mode, half the buttons get cropped.</p>
  
  <p>I was wondering if I could change the fab menu open orientation programmatically on my onConfigurationChanged method. </p>
  
  <p>Something like this:</p>
  
  <pre><code>override fun onConfigurationChanged(newConfig: Configuration) {
      super.onConfigurationChanged(newConfig)
      if (newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) {
          // set menu fab orientation to start|left
      } else if (newConfig.orientation == Configuration.ORIENTATION_PORTRAIT){
          // set menu fab orientation to up
      }
  }
  </code></pre>
  
  <p>I can't seem to find the method to change this programmatically. Does someone knows how to do it?</p>