A practical, cool and elegant Submit Button

Demo

Attributes

 <com.spark.submitbutton.SubmitButton
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="Submit"
        android:textColor="@color/gray"
        app:sub_btn_background="@color/white"
        app:sub_btn_duration="3000"
        app:sub_btn_line_color="@color/green"
        app:sub_btn_ripple_color="@color/green"
        app:sub_btn_tick_color="@color/white" />
Copy the code

Download

Step 1. Configure your project-level build.gradle to include the follow repository:

repositories {
    maven {
        url 'https://dl.bintray.com/spark/maven'}}Copy the code

Step 2. Add the dependency:

dependencies {
  compile 'Me. The spark: submitbutton: 1.0.1'
}Copy the code