Skip to main content

Posts

Showing posts with the label Bottom

Bottom Dialogs Sheet

Bottom Dialogs Sheet      Android Library that shows a customizable Material-based bottom sheet. How to include Add the repository to your project  build.gradle : repositories { maven { url " https://jitpack.io " } } And add the library to your module  build.gradle : dependencies { compile ' com.github.javiersantos:BottomDialogs:1.2.1 ' } Usage Basic Bottom Dialog A basic bottom dialog will be shown. You have access to methods such as  setTitle() ,  setContent() ,  setIcon() ,  setCancelable() ,  dismiss() , etc. Customizations are explained below. new BottomDialog . Builder ( this ) .setTitle( " Awesome! " ) .setContent( " What can we improve? Your feedback is always welcome. " ) .show(); or BottomDialog bottomDialog = new BottomDialog . Builder ( this ) .setTitle( " Awesome! " ) .setContent( " What can we improve? Your feedback is always welcome. " ) .build(); ....