title: How to use setOutlineProvider instead of setOutline in Lollipop
body: <p>For the earlier L Preview there were some examples like shown below to add to your code in order to use an FAB (Floating Action Button).</p>
  
  <p>But unfortunately I can't use that same code to implement an FAB due to the setOutline method not being supported anymore, but it appears to have been replaced by an alternative method 'fab.setOutlineProvider(ViewOutlineProvider);'. could anyone explain how to use this?... </p>
  
  <p>It is probably something really simple that I am missing, but any help would be much appreciated.</p>
  
  <pre><code>// Outline
  int size = getResources().getDimensionPixelSize(R.dimen.fab_size);
  Outline outline = new Outline();
  outline.setOval(0, 0, size, size);
  
  Button fab = (Button) findViewById(R.id.fab);
  fab.setOutline(outline);
  fab.setClipToOutline(true);
  </code></pre>