Android Button Maker
Button
Button▶
android:text
android:textColor
android:textSize
Shadow
android:shadowColor
android:shadowDx
android:shadowDy
android:shadowRadius
size▶
android:width
android:height
ButtonShape.xml
corners▶
android:radius
Radius Property
android:topLeftRadius
android:topRightRadius
android:bottomLeftRadius
android:bottomRightRadius
Background▶
gradient solid
android:type
Center
android:centerX
android:centerY
android:startColor
android:centerColor
android:endColor
android:angle
android:gradientRadius
padding▶
Padding On
android:left
android:top
android:right
android:bottom
stroke▶
android:width
android:color
Code Button
Button angryButton = (Button) findViewById(R.id.angry_btn);
angryButton.setOnClickListener(new View.OnClickListener() );
public void onClick(View v)
// Click event trigger here