Is it possible to define a padding from the Style XML?

I've tried using the code below on a button but it doesnt apply the
changes.

        <style name="KeypadButton">
                <item name="android:shadowColor">#FF000000</item>
                <item name="android:shadowRadius">6</item>
                <item name="android:textColor">#FFFFFFFF</item>
                <item name="android:paddingRight">100dp</item>
                <item name="android:paddingLeft">100dp</item>
        </style>

Thanks in advance

-- 
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