Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <MyButton android:id="@+id/myBtn" myValue="Hello World"></MyButton>
- public class MyButton extends Button{
- private String myValue = "";
- public CalcButton(Context context, AttributeSet attrs, int defStyle) {
- super(context, attrs, defStyle);
- }
- }
Add Comment
Please, Sign In to add comment