Android: Bottom Sheet
Credit: material.io Bottom sheet is a component that slides up from bottom of the screen to reveal more content. You can find more detailed information of Bottom Sheet on Google Material Design guidelines. Adding resources Add the latest appcompat and design support library to your project. dependencies { //replace X.X.X with the latest version compile 'com.android.support:appcompat-v7:X.X.X' compile 'com.android.support:design:X.X.X' } Make your activity extend AppCompatActivity . public class ButtonActivity extends AppCompatActivity { ... } Creating layouts Bottom sheet content We’ll include the layouts for the sake of simplicity. This is the layout that will contain the content of the bottom sheet . File is bottom_sheet.xml . <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas....