GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - iamageo/MultiFab: ➕ Jetpack Compose speed-dial (multi floating action button) library for Android. A main FAB expands into a list of mini FABs with icons and optional labels, with animated icon rotation/swap, fade and expand animations, custom tints, an optional title, plus item-click and state-change callbacks. Written in Kotlin; published via JitPack.

BranchesTags
Open more actions menu

Latest commit

 

History

71 Commits
71 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea
.idea
 
 
app
app
 
 
gradle
gradle
 
 
multifablibrary
multifablibrary
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

Multi Float Action Button


➕ An efficient and beautiful Multi Float action button library implemented in Jetpack Compose 🚀

banner_multifab

License API repo size
forks stars

Including in your project

Gradle

Add below codes to your root build.gradle file (not your module build.gradle file).

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

And add a dependency code to your module's build.gradle file.

dependencies {
  implementation 'com.github.iamageo:MultiFab:{multifab-version}'
}

Anatomy

anatomy

1 - MultiFloatActionButton

  • FabIcon
  • FabOption
  • itemsMultiFab
  • onFabItemClicked
  • FabTitle
  • ShowFabTitle

2 - MultiFabItem

Basic Usage

Add in you Activity file.

MultiFloatingActionButton(
    fabIcon = FabIcon(
        iconRes = R.drawable.ic_baseline_add_24,
        iconResAfterRotate = R.drawable.ic_baseline_remove_24,
        iconRotate = 180f
    ),
    fabOption = FabOption(
        iconTint = Color.White,
        showLabels = true,
        backgroundTint = Color.Blue,
    ),
    itemsMultiFab = listOf(
        MultiFabItem(
            icon = R.drawable.ic_baseline_add_24,
            label = "first",
            labelColor = Color.White
        ),
        MultiFabItem(
            icon = R.drawable.ic_baseline_add_24,
            label = "second",
            labelColor = Color.White
        ),
    ),
    onFabItemClicked = { println(it) },
    fabTitle = "MultiFloatActionButton",
    showFabTitle = false
 )

Preview

multifab

Hacktoberfest 2022

This project has been submitted for hacktoberfest 2022. See more here

License

    Copyright 2022 Geovani Amaral

    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.

About

➕ Jetpack Compose speed-dial (multi floating action button) library for Android. A main FAB expands into a list of mini FABs with icons and optional labels, with animated icon rotation/swap, fade and expand animations, custom tints, an optional title, plus item-click and state-change callbacks. Written in Kotlin; published via JitPack.

Topics

androidandroid-libraryandroid-uicompose-animationcustom-componentexpandable-fabfabfloating-action-buttonhacktoberfesthacktoberfest-acceptedjetpack-composejetpack-compose-libraryjitpackkotlinkotlin-librarymaterial-designmulti-floating-action-buttonmultifabspeed-dial

Resources

Readme
Apache-2.0 license
Activity

Stars

22 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.