Skip to content

mustafaersoyer/FabWithText

Repository files navigation

Welcome to Circular Flaoating Action Button with Text 👋

Version

Simple Floating Action Button with text

alt text

Install

Firstly, add Jitpack repository in your root build.gradle file (not your module build.gradle file):

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

Add dependency to your module's build.gradle file:

dependencies {
       implementation 'com.github.mustafaersoyer:fabwithtext:0.0.3'
}

Usage

<com.me.textfab.FloatingActionButton
        android:foreground="?android:attr/selectableItemBackground"
        app:floating_background_color="@color/colorAccent"
        app:floating_title="Start Tour"
        app:floating_title_color="@android:color/white"
        android:id="@+id/fab"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:elevation="0dp"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
        android:layout_gravity="bottom|center"
        android:layout_marginBottom="70dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:layout_centerInParent="true" />

alt text

Author

👤 ** Mustafa ERSOY**

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

Android floating action button with text. (Library)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages