Loading...

Android Bottom/Footer Menu Example with SlideUp Animation

Android menus are important and common user interface component. Menus are used in many types android application. Menus can be used in different place, different ways and different style. We can customize menus according to our needs. Previously we are posted some tutorials about android action bar menu example, custom menu tutorial, floating action menu and many more. And in this tutorial, you will learn to make android bottom menu with slide up animation effect.

To implement bottom menu in android you have to do what actually done while implementing actionbar /appbar/ toolbar drop down menu.

Related:
Android Floating Action Menu Example
Android Dropdown Menu Example
Android Custom Vertical Dropdown Icons Menu

Android Example: Bottom Menu Example with SlideUp Animation Effect


To add bottom menu in android application first we are going to add compile 'com.cocosw:bottomsheet:1.+@aar' dependencies in project build.gradle file. Build.gradle file will look like below.

build.gradle

Create a new XML menu file android_bottom_menu_item.xml inside res/menu/ folder and add menu items with id, title and icon. Following is the complete content of android_bottom_menu_item.xml file.

res/menu/android_bottom_menu_item.xml

Now time to work in java activity file. Open your java activity file and following java code. You can add anything you need when button/menu item click in TODO place.

src/AndroidBottomMenuExample.java

And add a button in your XML layout file to show bottom menu when button is clicked. Following is the content of XML layout file.

res/layout/android_bottom_menu_example.xml

Android Example: Bottom Menu Example with SlideUp Animation Effect

Now, run your Android Bottom/Footer Menu Example with SlideUp Animation application and click on Show Bottom Menu button, you will see bottom menu with slide up animation effect.
UI 2956934434526433292
Home item