Expandable Menu


Source link: https://github.com/anshulagarwal06/ExpandableMenu

Android menu option with expandable effect.

What this Lib can do :

1.Menu will expand when user touch it and show menu options.

2.You will get call back when user select menu.

3.You can customize menu icons.

4.Customize menu icon.

Download

Include jitpack.io inside of root project build.gradle:

allprojects {

repositories {

 ...
 maven {
 url "https://jitpack.io" 
}

}
  
}

After that you can easily include the library in your app build.gradle:

dependencies {

 compile 'com.github.anshulagarwal06:ExpandableMenu::v1.0'  
}

Instructions

Add ExpandableMenuView to your xml fule

 <me.anshulagarwal.expandablemenuoption.ExpandableMenuView

 android:id="@+id/expanded_menu"

 android:layout_width="match_parent"

 android:layout_height="match_parent"

 app:bottom_drawable="@drawable/location_selector"

 app:left_drawable="@drawable/play_selector"

 app:menu_color="@color/menu_color"

 app:menu_drawable="@drawable/menu_icon"

 app:menu_expanded_radius="@dimen/big_radius"

 app:menu_radius="@dimen/small_radius"

 app:right_drawable="@drawable/phone_selector"

 app:top_drawable="@drawable/camera_selector" />

Most of xml attributes are self explanatory.

Add menu click callback in java -


  mExpandableMenuView.setOnMenuListener(new ExpandableMenuView.MenuListener() {

  @Override

 public void rightPressed() {

 
}

  @Override

 public void leftPressed() {

 
}

  @Override

 public void topPressed() {

 
}

  @Override

 public void bottomPressed() {

 
}

}
);

--

Resources

A rxJava2 + ViewPager banner view for android. Automatically starts playing images and stops when on touching.

Transform any object into an async object (can be useful for VIPER).

Rx binding for AltBeacon.

Detect device shake in background (if you want), specifying sensitivity, range, counts.

This library helps android developers to implement something like iOS key value observer pattern (KVO).

A library that implements Google Play like PersistentSearch view.

  • 3 modes: Toolbar with drawer button, MenuItem and Toolbar with back button
  • MenuItem mode reveal animation
  • Voice recognition support.
  • Use android.support.v7.widget.CardView to draw background and shadow, you can set persistentSV_searchCardElevation to modify shadow size.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes