All Projects → rasoulmiri → Buttonloading

rasoulmiri / Buttonloading

Button Loading

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Buttonloading

awesome-web-styling
Awesome Web Styling with CSS Animation Effects ⭐️
Stars: ✭ 109 (-16.15%)
Mutual labels:  button, loading
SSSwiftUISpinnerButton
SSSwiftUISpinnerButton is a collection of various spinning animations for buttons in SwiftUI.
Stars: ✭ 37 (-71.54%)
Mutual labels:  button, loading
vue-loading-button
👇 Vue button with slideout loading indicator
Stars: ✭ 39 (-70%)
Mutual labels:  button, loading
Transitionbutton
UIButton sublass for loading and transition animation.
Stars: ✭ 1,124 (+764.62%)
Mutual labels:  loading, button
Skeletonview
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
Stars: ✭ 10,804 (+8210.77%)
Mutual labels:  loading
Avloadingindicatorview
DEPRECATED
Stars: ✭ 9,585 (+7273.08%)
Mutual labels:  loading
Terminal layout
The project help you to quickly build layouts in terminal,cross-platform(一个跨平台的命令行ui布局工具)
Stars: ✭ 98 (-24.62%)
Mutual labels:  loading
Windows10debloater
Script to remove Windows 10 bloatware.
Stars: ✭ 11,462 (+8716.92%)
Mutual labels:  button
Vue Loaders
Vue + loaders.css
Stars: ✭ 127 (-2.31%)
Mutual labels:  loading
Downloadbutton
Customizable App Store style download button
Stars: ✭ 1,532 (+1078.46%)
Mutual labels:  button
Flutter Reaction Button
Flutter reaction button plugin it is fully customizable widget such as Facebook reaction button
Stars: ✭ 111 (-14.62%)
Mutual labels:  button
React Native Loading Spinner Overlay
💈 React Native loading spinner overlay
Stars: ✭ 1,369 (+953.08%)
Mutual labels:  loading
React Dark Mode Toggle
🦉 A cutesy dark mode toggle button for React.
Stars: ✭ 117 (-10%)
Mutual labels:  button
Gradient Screens
🌈 Gradients applied to buttons, texts and backgrounds in Flutter
Stars: ✭ 97 (-25.38%)
Mutual labels:  button
Camerabutton
Instagram-like button for taking photos or recording videos
Stars: ✭ 121 (-6.92%)
Mutual labels:  button
Spbutton
自定义按钮,图片可在上、左、下、右,可调整图文间距,新增属性支持storyBoard/xib,系统按钮的所有属性和方法依然生效
Stars: ✭ 91 (-30%)
Mutual labels:  button
Arrowdrawable
纯Paint实现的一个射箭效果,可用作Loading动画。
Stars: ✭ 103 (-20.77%)
Mutual labels:  loading
Stm32
STM32 CM3 Project
Stars: ✭ 119 (-8.46%)
Mutual labels:  button
React Particle Effect Button
Bursting particle effect buttons for React 🎉
Stars: ✭ 1,385 (+965.38%)
Mutual labels:  button
Mkloader
Beautiful and smooth custom loading views
Stars: ✭ 1,377 (+959.23%)
Mutual labels:  loading

ButtonLoading



Beautiful Fancy Button Loading

Android Arsenal Minimum API 17

Demo



Usage:

Step 1:

Add JitPack repository in your root build.gradle at the end of repositories.

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

Add dependency in your app level build.gradle.

dependencies {
      compile 'com.github.rasoulmiri:buttonloading:v1.0.8'
}



Step 2:

use in layout xml

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    
        //...
  
        <io.rmiri.buttonloading.ButtonLoading
            android:layout_width="match_parent"
            android:layout_height="48dp"
            app:BL_backgroundColor="#80ffffff"
            app:BL_circleColor="#00AFEF"
            app:BL_circleColorSecond="#8000AFEF"
            app:BL_enable="true"
            app:BL_stateShow="normal"
            app:BL_text="Login"
            app:BL_textColor="#FFFFFF"
            app:BL_textSize="14sp" />

    
</RelativeLayout>



Step 3:

buttonLoading.setOnButtonLoadingListener(new ButtonLoading.OnButtonLoadingListener() {
            @Override
            public void onClick() {
           	//...
            }

            @Override
            public void onStart() {
               //...
            }

            @Override
            public void onFinish() {
               //...
            }
});



Configure XML

  • BL_backgroundColor
  • BL_circleColor color
  • BL_circleColorSecond
  • BL_stateShow: normal,animationStart,progress,animationFinish | default value is normal
  • BL_text: text button
  • BL_textColor
  • BL_textSize
  • BL_font: address font in assets. example: file in assetst > fonts > arial.ttf ==> fonts/arial.ttf

    Note: Do not use the button in LinearLayout.

Contributing

You are welcome to contribute with issues, PRs or suggestions.




Other Project Me

Skeleton Android

Simple yet powerful skeleton animation for all view in android

alt tag


[Repository](https://github.com/rasoulmiri/Skeleton)
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].