Touchbutton
A control that sounds like a vibrato APP to shoot button effects
Preview
Usage
<Net.angrycode.library.TouchButton android:id= "@+id/touch_btn" android:layout_width = "85DP" android:layout_height= "85DP" android:layout_centerinparent= "true" app:tb_anim_padding= "14DP" app:tb_color= "@color/coloraccent" app:tb_text = "Hold"/>
Custom properties
<declare-styleable name= "Touchbutton" ><attr name= "Tb_text" format= "string|reference"/><attr name= " Tb_text_color "format=" color|reference "/><attr name=" Tb_color "format=" color|reference "/><attr name=" Tb_anim_padding "format=" Dimension|reference "/></declare-styleable>
Property Description
Properties |
Description |
Default Value |
Tbanimpadding |
Animation margins |
10dp |
Tb_color |
Button background |
#FF4081 |
Tb_text |
Button text |
Hold |
Tbtextcolor |
Button text color |
#ffffffff |
Public number
Android Pits Guide (Angrycode)
Follow us to get more
A control that sounds like a vibrato APP to shoot button effects