All Projects → Devit951 → Fillingbutton

Devit951 / Fillingbutton

Licence: apache-2.0
🔥Replace typical onLongClickListener with this library!

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Fillingbutton

Hhcustomcorner
Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently
Stars: ✭ 36 (+16.13%)
Mutual labels:  library, view, button
Customfloatingactionbutton
This view is for replacement of standard Floating Action Button from Google Support Library. It is easy to use, customizable and you can also add text to button
Stars: ✭ 222 (+616.13%)
Mutual labels:  view, android-ui, button
Textwriter
Animate your texts like never before
Stars: ✭ 140 (+351.61%)
Mutual labels:  view, customview, android-ui
Android Customtoast
Easy to use Custom Toast Library for Android
Stars: ✭ 24 (-22.58%)
Mutual labels:  androidstudio, customview, android-ui
Zoomrecylerlayout
🎢 Zoom Recycler Layout Manager For Android Kotlin
Stars: ✭ 618 (+1893.55%)
Mutual labels:  androidstudio, android-ui
Materialfavoritebutton
Animated favorite/star/like button
Stars: ✭ 586 (+1790.32%)
Mutual labels:  android-ui, button
Cardviewlist
An elegant and responsive CardView like Android on iOS with Swift. Available horizontal and vertical scrolling with full animations and customizable.
Stars: ✭ 30 (-3.23%)
Mutual labels:  library, android-ui
Swipeablecard
A simple implementation of swipe card like StreetView
Stars: ✭ 812 (+2519.35%)
Mutual labels:  library, android-ui
Popview Android
Pop animation with circular dust effect for any view updation
Stars: ✭ 487 (+1470.97%)
Mutual labels:  library, view
Codeview Android
Display code with syntax highlighting ✨ in native way.
Stars: ✭ 748 (+2312.9%)
Mutual labels:  customview, android-ui
Crab
JavaScript library for building user interfaces with Custom Elements, Shadow DOM and React like API
Stars: ✭ 22 (-29.03%)
Mutual labels:  library, view
Zloading
[Android] 这是一个自定义Loading View库。暂停更新
Stars: ✭ 552 (+1680.65%)
Mutual labels:  view, customview
Esp Dash
A blazing fast library to create a functional dashboard for ESP8266 and ESP32
Stars: ✭ 548 (+1667.74%)
Mutual labels:  library, button
Discretescrollview
A scrollable list of items that centers the current element and provides easy-to-use APIs for cool item animations.
Stars: ✭ 5,533 (+17748.39%)
Mutual labels:  view, 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 (+1470.97%)
Mutual labels:  view, android-ui
Motiontoast
🌈 A Beautiful Motion Toast Library for Kotlin Android
Stars: ✭ 767 (+2374.19%)
Mutual labels:  androidstudio, android-ui
Adaptablebottomnavigation
A simpler way for implementing the Bottom Navigation View on Android
Stars: ✭ 844 (+2622.58%)
Mutual labels:  view, android-ui
Similarloadingview
A stylish loading view for Android
Stars: ✭ 26 (-16.13%)
Mutual labels:  library, android-ui
Dachshund Tab Layout
Extended Android Tab Layout with animated indicators that have continuous feedback.
Stars: ✭ 853 (+2651.61%)
Mutual labels:  view, android-ui
Weatherview
WeatherView is an Android Library let you make cool weather animations for your app
Stars: ✭ 426 (+1274.19%)
Mutual labels:  library, view

FillingButton

Android Arsenal jitpack badge badge android platform API 16+ GitHub license

Build with love

Replace typical onLongClickListener with that library! It's the new way to handle onLongClickListener on buttons.

Sample

20190328_105032

Added new type of button InternetSensableFillingButton

20190427_124552

Added directions of filling, here is first and the third button has RightToLeftDirection:

20190516_105414

First FillingButton has TopToBottomFillingDirection and second FilligButton has BottomToTopFillingDirection

20190521_105157

Usage a simple FillingButton

 <com.github.devit951.fillingbutton.FillingButton
        android:id="@+id/fb_first"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="BUTTON"
        android:background="@color/colorAccent"
        app:fillColor="@color/colorPrimaryDark"
        app:fillDuration="500"/>

Usage a simple InternetSensableFillingButton

 <com.github.devit951.fillingbutton.InternetSensableFillingButton
        android:id="@+id/fb_first"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="BUTTON"
        android:background="@color/colorAccent"
        app:fillColor="@color/colorPrimaryDark"
        app:fillDuration="500"/>

Using FillingButton fill directions

You can change these directions in runtime.

fillingButton.direction = RightToLeftFillingDirection();
fillingButton.direction = LeftToRightFillingDirection();
fillingButton.direction = TopToBottomFillingDirection();
fillingButton.direction = BottomToTopFillingDirection();

List of xml attributes:

app:fillColor=(color) -> Changes foreground color of filling
app:fillAlpha=(integer) -> Changes alpha of foreground color filling
app:fillDuration=(integer) -> Changes fill animation duration

Setup

allprojects {
  repositories { 
    maven { url 'https://jitpack.io' } 
  }
}
  
dependencies {  
  implementation 'com.github.Devit951:FillingButton:1.2'
}
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].