Is there a simple way to modify value in AttributeSet?

all i want to do is something like this:
in Button.java

   public Button(Context context, AttributeSet attrs, int defStyle) {

/**
In origional XML, I have android:textSize="20sp".
Then do something to make textSize attr. value + 2sp.
The effect of this will make all button textSize bigger than original
setting.
**/
        super(context, attrs, defStyle);
    }

Any suggestion is appreciated!
Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to