SubmitButton
项目地址: SparkYuan/SubmitButton

简介:A cool and elegant Submit Button
A practical, cool and elegant Submit Button
Demo
- SubmitButton is a subclass of TextView, so almost all attributes of TextView can be used for SubmitButton.
- The width and height of this SubmitButton is measured by the text size and its layout_width andlayout_height must be match_parent.
- The default gravity of the text in this SubmitButton is center and can not be changed.
Step 1. Configure your project-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.1' }