Android一個優雅實用的Submit按鈕動效
預覽

使用
<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" />
下載
Step 1. Configure your module-level build.gradle to include the follow repository:
repositories {
maven {
url 'https://dl.bintray.com/spark/maven'
}
}
Step 2. Add the dependency:
dependencies {
compile 'me.spark:submitbutton:1.0.0'
}
本文由用戶 ZelG08 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!