title: Bottom Share Sheet in Android
body: <p>When sharing data in an Android application I have seen multiple applications use a bottom sheet (Google I/O 2015 for ex.) to indicate apps to perform an action rather than the standard dialog which includes apps to handle your intent.</p>
  
  <p>For example:</p>
  
  <pre><code>Intent shareIntent = new Intent(Intent.ACTION_SEND);
  shareIntent.setType("text/plain");
  shareIntent.putExtra(Intent.EXTRA_TITLE, "Some title..");
  shareIntent.putExtra(Intent.EXTRA_TEXT, "Some text");
  startActivity(Intent.createChooser(shareIntent, "Share via.."));
  </code></pre>
  
  <p>does not do the trick since the OS version picks the display of the chooser. </p>
  
  <p>Any way to change this code to get the Share Bottom sheet per the material design <a href="https://www.google.com/design/spec/components/bottom-sheets.html#bottom-sheets-content" rel="noreferrer">https://www.google.com/design/spec/components/bottom-sheets.html#bottom-sheets-content</a><img src="https://i.stack.imgur.com/gJTh7.png" alt="enter image description here"></p>
  
  <p>Does anyone know of third party libraries to do just this on older API versions?</p>
  
  <p>I have found <a href="https://github.com/soarcn/BottomSheet" rel="noreferrer">https://github.com/soarcn/BottomSheet</a> </p>
  
  <p>but this only lets me create a menu from the bottom sheet. I guess in reality, i can lookup all the apps that can perform the action I am trying to do and manually add Menu Items on top of this library, but i was hoping for something a little simpler since it is not a deal breaking feature.</p>