title: How to set the colour of FloatingActionButton using AppCompat
body: <p>Using the material design support library: </p>
  
  <pre><code>com.android.support:support-v13:23.1.+
  com.android.support:design:23.1.+
  </code></pre>
  
  <p>I created a new FloatingActionButton as such:</p>
  
  <pre><code>FloatingActionButton button = new FloatingActionButton(context);
  button.setBackgroundTintList(ColorStateList.valueOf(color));
  </code></pre>
  
  <p>This basically worked, but the on an Android 4.4.4 device result is a button with a green edge to it (see image). I note that the green edge is the default colour of the button before using setBackgroundTintList(). </p>
  
  <p><a href="https://i.stack.imgur.com/JBGFn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JBGFn.png" alt="enter image description here"></a></p>
  
  <p>On an Android L device the button looks correct (without the green edge).</p>
  
  <p>How can I set the colour correctly to remove this green edge?</p>