All Projects → HarinTrivedi → Fabrevealmenu Master

HarinTrivedi / Fabrevealmenu Master

Licence: apache-2.0
A general purpose android UI library to show a user show menu in accordance of Floating action button with material design guidelines.

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Fabrevealmenu Master

Material Bottom Nav
A bottom navigation bar adhering to the Material Design specification.
Stars: ✭ 41 (-92.65%)
Mutual labels:  material, menu
Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (-75.45%)
Mutual labels:  material, android-ui
Battery Meter View
🔋 Material design battery meter (i.e. level, state) view for Android
Stars: ✭ 57 (-89.78%)
Mutual labels:  material, android-ui
Materialfavoritebutton
Animated favorite/star/like button
Stars: ✭ 586 (+5.02%)
Mutual labels:  material, android-ui
Materiallettericon
Material first letter icon like lollipop contacts icon. Letter(s) on a shape drawn on canvas.
Stars: ✭ 255 (-54.3%)
Mutual labels:  material, android-ui
Bluetooth State View
Material design animated Bluetooth state view for Android
Stars: ✭ 36 (-93.55%)
Mutual labels:  material, android-ui
Android Art
🎄 Android™ 设计相关的在线工具: 图标制作、配色方案、尺寸修改、截图加壳等,持续更新...
Stars: ✭ 95 (-82.97%)
Mutual labels:  material, android-ui
Slidetoact
A simple 'Slide to Unlock' Material widget for Android, written in Kotlin 📱🎨🦄
Stars: ✭ 783 (+40.32%)
Mutual labels:  material, android-ui
signal-strength-view
📶 Material design signal strength view for Android
Stars: ✭ 30 (-94.62%)
Mutual labels:  material, android-ui
AndroidEssentialLibraries
👻 Android Essential Libraries - A couple of the Android Libraries to use in your Projects 🛠
Stars: ✭ 203 (-63.62%)
Mutual labels:  material, android-ui
Expandablemenu
Expandable Menu button
Stars: ✭ 47 (-91.58%)
Mutual labels:  android-ui, menu
Fabsmenu
A simple library to use a menu of FloatingActionButtons from Design Support Library that follow Material Design Guidelines
Stars: ✭ 324 (-41.94%)
Mutual labels:  material, menu
Transformationlayout
🌠 Transform into a different view or activity using morphing animations.
Stars: ✭ 1,329 (+138.17%)
Mutual labels:  material, android-ui
Rhsidebuttons
Library provides easy to implement variation of Android (Material Design) Floating Action Button for iOS. You can use it as your app small side menu. 🌶
Stars: ✭ 164 (-70.61%)
Mutual labels:  material, menu
Sequent
A simple continuous animation library for Android UI.
Stars: ✭ 263 (-52.87%)
Mutual labels:  material, android-ui
Material Progressview
🔥A beautiful, gradual and simple used progress view for android.
Stars: ✭ 406 (-27.24%)
Mutual labels:  material, android-ui
Ngx Auth Firebaseui
Angular Material UI component for firebase authentication
Stars: ✭ 518 (-7.17%)
Mutual labels:  material
Xf Material Library
A Xamarin Forms library for implementing Material Design
Stars: ✭ 537 (-3.76%)
Mutual labels:  material
Giffy dialog
A Flutter package for a quick and handy giffy dialog.
Stars: ✭ 517 (-7.35%)
Mutual labels:  material
Autoconnect
An Arduino library for ESP8266/ESP32 WLAN configuration at runtime with the Web interface
Stars: ✭ 513 (-8.06%)
Mutual labels:  menu

FABRevealMenu 2.0 ✌️


An simple general purpose UI library to create custom user defied menu in modern way with your favourite Floating action button. It incorporates lollipop circular reveal view with cool animations somewhat inspired from google material design guideline https://material.google.com/components/buttons-floating-action-button.html#buttons-floating-action-button-transitions

Uses Material Container Transformation from material components by Google.


gradle dependency:

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
....

dependencies {
        implementation 'com.github.HarinTrivedi:FABRevealMenu-master:2.0.0'
}
    

What's new:

  • Vector icon support
  • Font support
  • Disable menut item
  • Set menu corder radius
  • Set custom animation duration

Demo

  • Horizontal Menu

demo_horizontal

  • Vertical Menu

demo_vertical

  • Custom view in Menu

demo_custom


How to use

  • By xml

Add namespace in layout like:

xmlns:app="http://schemas.android.com/apk/res-auto"

Use FABRevealMenu in xml layout like:

<com.hlab.fabrevealmenu.view.FABRevealMenu
    android:id="@+id/fabMenu"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_centerInParent="true"
    app:menuBackgroundColor="@colorRes"
    app:menuDirection="left/top/right/bottom"
    app:menuRes="@menuRes"
    app:menuTitleTextColor="@colorRes"
    app:showOverlay="true/false"
    app:showTitle="true/false"
    app:overlayBackground="@colorRes"
    app:menuSize="normal/small"
    app:duration="1000"
    app:menuCornerRadius="15dp"
    app:menuTitleFontFamily="@font/quicksand"
    app:menuTitleDisabledTextColor="@colorRes""/>
  • By Code

All attributes can also be set/altered by below methods:

    setMenu(@MenuRes) // set R.menu resourece
    setMenuItems(ArrayList<FABMenuItem>) // set custom menu items
    setOverlayBackground(@ColorRes) // change default overlay background color 
    setMenuBackground(@ColorRes) // change menu background color 
    setShowOverlay(boolean) // change overlay visibility : be careful to use this
    setTitleVisible(boolean) // set menu item title visibility
    setMenuTitleTextColor(@ColorRes) // change menu item text color
    setMenuDirection(Direction) // change menu direction when showed : place FAB on screen properly to change directions
    setSmallerMenu() // small size menu
    setNormalMenu() // normal size menu
    setMenuTitleDisabledTextColor(@ColorRes) // set disable text color
    setMenuTitleTypeface(@FontRes) // set custom font typeface

  • Set custom view

You can inflate custom view by two ways

  1. app:menuCustomView="@layoutRes" // you can get custom view object by calling getCustomView() on fabRevealMenu instance

  2. setCustomView(View)


LICENSE

Copyright 2020 Harry's Lab

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].