All Projects → bitvale → FabDialog

bitvale / FabDialog

Licence: other
🎈 Fab into Dialog Animation on Android

Programming Languages

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

Projects that are alternatives of or similar to FabDialog

Expandablemenu
Expandable Menu button
Stars: ✭ 47 (+30.56%)
Mutual labels:  android-ui, fab
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (-11.11%)
Mutual labels:  dialog, android-ui
Android Material Design For Pre Lollipop
Various UI implementations, animations & effects based on Material Design compatible with pre Lollipop devices as well. (Work in progess)
Stars: ✭ 585 (+1525%)
Mutual labels:  android-ui, fab
Aestheticdialogs
📱 An Android Library for 💫fluid, 😍beautiful, 🎨custom Dialogs.
Stars: ✭ 352 (+877.78%)
Mutual labels:  dialog, android-ui
Fabdialogmorph
🐠 Fab and Dialog Morphing Animation on Android
Stars: ✭ 737 (+1947.22%)
Mutual labels:  dialog, fab
Androidrate
AndroidRate is a library to help you promote your Android app by prompting users to rate the app after using it for a few days.
Stars: ✭ 117 (+225%)
Mutual labels:  dialog, android-ui
AnyDialog
简化dialog创建,支持滑动关闭,支持嵌套滑动
Stars: ✭ 26 (-27.78%)
Mutual labels:  dialog, android-ui
Happybubble
💭BubbleLayout随意变化的气泡布局、消息对话框,可定制颜色,背景、弧度、尖角弧度、边框等等。BubbleDialog气泡弹窗根据点击View的位置定位它的弹窗位置,BubbleDialog可定制方向等!(BubbleLayout changes freely,BubbleDialog click on the location of View positioning its location,BubbleDialog can be customized directions.)
Stars: ✭ 487 (+1252.78%)
Mutual labels:  dialog, android-ui
Materialdialog Android
📱Android Library to implement animated, 😍beautiful, 🎨stylish Material Dialog in android apps easily.
Stars: ✭ 602 (+1572.22%)
Mutual labels:  dialog, android-ui
Lovelydialog
This library is a set of simple wrapper classes that are aimed to help you easily create fancy material dialogs.
Stars: ✭ 1,043 (+2797.22%)
Mutual labels:  dialog, android-ui
Fabulousfilter
Android library to animate Floating Action Button to Bottom Sheet Dialog and vice-versa
Stars: ✭ 2,477 (+6780.56%)
Mutual labels:  dialog, fab
DEMOS TO MySelf Android
自己平时的一些积累,相当于自己的一个demo库,比较杂,后续会一个一个整理出来
Stars: ✭ 36 (+0%)
Mutual labels:  dialog
VideoPreLoading
Demo for video PreLoading/ PreCaching using ExoPlayer 2.13.3 in Android.
Stars: ✭ 61 (+69.44%)
Mutual labels:  android-ui
alert
Cross-platform, isomorphic alert, for Node and browser (previously alert-node)
Stars: ✭ 27 (-25%)
Mutual labels:  dialog
SnappCompose
A clone of Snapp using Jetpack Compose. Showcasing various usages of Google Maps Animations etc combined with Compose
Stars: ✭ 59 (+63.89%)
Mutual labels:  android-ui
info-bar-compose
An Android Jetpack Compose library for displaying on-screen messages. (simplified Snackbar alternative)
Stars: ✭ 80 (+122.22%)
Mutual labels:  android-ui
sweet-modal-vue
The sweetest library to happen to modals.
Stars: ✭ 762 (+2016.67%)
Mutual labels:  dialog
edge-to-edge-decorator
Edge to edge decorator - is a utility class that is responsible for coloring the statusBar and navigationBar to maintain edge to edge (e2e) mode.
Stars: ✭ 47 (+30.56%)
Mutual labels:  android-ui
PageStepIndicator
Step indicator with titles/labels and tons of customizations.
Stars: ✭ 27 (-25%)
Mutual labels:  android-ui
bottomsheets
Material Bottom Sheets library for Android
Stars: ✭ 76 (+111.11%)
Mutual labels:  android-ui

FabDialog

sample

License Platform API

This is an Android project allowing to animate a custom Floating Action Button into a custom Dialog.

USAGE

Just add FabDialog view in your layout XML and FabDialog library in your project via Gradle:

dependencies {
  implementation 'com.bitvale:fabdialog:1.0.1'
}

XML

<com.bitvale.fabdialog.widget.FabDialog
    android:id="@+id/dialog_fab"
    android:layout_width="@dimen/fab_size"
    android:layout_height="@dimen/fab_size"
    android:layout_marginEnd="@dimen/fab_margin"
    android:layout_marginBottom="@dimen/fab_margin"
    android:padding="@dimen/fab_padding"
    app:dialogBackgroundColor="@color/dialogColor"
    app:fabIcon="@drawable/android_icon" />

You must use the following properties in your XML to change your FabDialog.

Properties:
  • app:fabBackgroundColor (color) -> default ?attr/colorAccent
  • app:dialogBackgroundColor (color) -> default ?attr/colorBackgroundFloating
  • app:dialogCornerRadius (dimension) -> default 8dp
  • app:dimBackgroundEnabled (boolean) -> default true
  • app:dimBackgroundColor (color) -> default BLACK with transparency (#99000000)
  • app:closeOnTouchOutside (boolean) -> default true

Kotlin

with(dialog_fab) {
    setTitle(R.string.dialog_title)
    setMessage(R.string.dialog_message)
    setDialogIcon(R.drawable.android_icon)
    setFabIcon(R.drawable.android_icon)
    setFabBackgroundColor(ContextCompat.getColor(context, R.color.fabColor))
    setDialogBackgroundColor(ContextCompat.getColor(context, R.color.dialogColor))
    setPositiveButton(R.string.positive_btn) { // some action }
    setNegativeButton(R.string.negative_btn) { dialog_fab.collapseDialog() }
    setOnClickListener { dialog_fab.expandDialog() }
    setListener(this@MainActivity)
}

LICENCE

FabDialog by Alexander Kolpakov is licensed under a Apache License 2.0.

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].