All Projects → Someonewow → Submitbutton

Someonewow / Submitbutton

A submit button with a fun animation for Android.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Submitbutton

react-bootstrap-button-loader
React ButtonLoader with Bootstrap flavor
Stars: ✭ 25 (-94.03%)
Mutual labels:  button
Examples Win32
Shows how to use Win32 controls by programming code (c++17).
Stars: ✭ 22 (-94.75%)
Mutual labels:  button
Flexiblebutton
灵活的按键处理库(Flexible Button)| 按键驱动 | 支持单击、双击、连击、长按、自动消抖 | 灵活适配中断和低功耗 | 按需实现组合按键
Stars: ✭ 322 (-23.15%)
Mutual labels:  button
SweetLike
A beautiful like button written in Swift.
Stars: ✭ 13 (-96.9%)
Mutual labels:  button
neumorphic-style
🎛 Simple SwiftUI ‘neumorphic’ button style
Stars: ✭ 54 (-87.11%)
Mutual labels:  button
Midi controller
This is a library for creating a MIDI controller using an Arduino or Teensy board.
Stars: ✭ 287 (-31.5%)
Mutual labels:  button
awesome-web-styling
Awesome Web Styling with CSS Animation Effects ⭐️
Stars: ✭ 109 (-73.99%)
Mutual labels:  button
Squishbutton
A button that squishes when pressed. As seen in the Clips app.
Stars: ✭ 401 (-4.3%)
Mutual labels:  button
MGS.Electronics
Unity plugin for make button switch, knob switch and rocker element in scene.
Stars: ✭ 12 (-97.14%)
Mutual labels:  button
Efcountinglabel
Adds animated counting support to UILabel.
Stars: ✭ 311 (-25.78%)
Mutual labels:  button
AMChoice
Radio Button and check box for iOS
Stars: ✭ 45 (-89.26%)
Mutual labels:  button
encoder
Atmel AVR C++ RotaryEncoder Implementation
Stars: ✭ 39 (-90.69%)
Mutual labels:  button
Jc button
Arduino library to debounce button switches, detect presses, releases, and long presses
Stars: ✭ 289 (-31.03%)
Mutual labels:  button
Fab
🛍️ A Floating Action Button for macOS. Inspired by Material Design, and written in Swift.
Stars: ✭ 24 (-94.27%)
Mutual labels:  button
Segmentedbutton
Segmented Control with animation for Android API 12+
Stars: ✭ 352 (-15.99%)
Mutual labels:  button
TextButton
⏹️ An easy to use `TextButton` when you need a TextView-like button, with handy touch feedback effects.
Stars: ✭ 19 (-95.47%)
Mutual labels:  button
Dragfloatingactionbutton
一个可以随处拖曳FloatingActionButton,边缘自动吸附,可设置按钮悬浮透明度,拖曳避免阻挡界面视图无法查看。
Stars: ✭ 258 (-38.42%)
Mutual labels:  button
Android Commonshapebutton
To remove all shape files from the project, provide a generic shape style button.
Stars: ✭ 404 (-3.58%)
Mutual labels:  button
Ahdownloadbutton
Customizable download button with progress and transition animations. It is based on Apple's App Store download button.
Stars: ✭ 370 (-11.69%)
Mutual labels:  button
Gradient Widgets
Flutter widgets wrapped with gradients
Stars: ✭ 290 (-30.79%)
Mutual labels:  button

SubmitButton

Travis

README: English | 中文

It's a submit button with a fun animation for Android.

Demo

submit succeed

submit failed

submit progress

Getting Started

1.Specify SubmitButton as a dependency in your build.gradle file;
dependencies {
	'''
	compile 'com.unstoppable:submitbutton:1.1.3'
}
2.Add SubmitButton to the layout file;
<com.unstoppable.submitbuttonview.SubmitButton
    android:id="@+id/submitbutton"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
3.Attribute
name format description default
buttonColor color set the button theme color #19CC95
buttonText String set the button text null
buttonTextSize dimension set the button text size 15sp
succeedColor color set the button color after the submission is successful #19CC95
failedColor color set the button color after the submission fails #FC8E34
progressStyle enum set the button progress style (Optional:loading or progress) loading
4.Method
 /**
 * Pass the results to show different feedback results
 *
 * @param boolean isSucceed 
 */
mSubmitView.doResult(boolean isSucceed);

 /**
 * Reset SubmitButton 
 */
mSubmitView.reset();

/**
 * set progress(This method is valid only if progressStyle is set to progress)
 *
 * @param progress (0-100)
 */
mSubmitView.setProgress();

/**
 * set the animation end callback interface
 *
 * @param listener
 */
mSubmitView.setOnResultEndListener(OnResultEndListener listener)

Changelog

Current Version:1.1.3

  • Made some improvements.

Version:1.1.2

  • Fix bugs that can not be displayed on some phones because of HardwareAccelerated.

Version:1.1.1

  • Add animation end callback interface.

  • Bug fixes.

Version:1.1.0

  • Add progress style setting mothod.

Version:1.0.1

  • Bug fixes.

Version:1.0.0

  • Initial Build.

License

Copyright 2017 Unstoppable

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