Hello:
Suppose I have this button:
<Button
android:layout_width="179dp"
android:layout_height="match_parent"
android:layout_centerHorizontal="true"
android:background="@drawable/bg_act_incall_actions_end_call"
android:text="End Call"
android:textAppearance="@style/TextInCallEndCallButton"
style="@style/SimpleBlackShadow"
/>
and a "TextInCallEndCallButton" style:
<style name="TextInCallEndCallButton">
<item name="android:textSize">20sp</item>
<item name="android:textColor">#ffffff</item>
<item name="android:textStyle">bold</item>
</style>
The button color (the text) will stay BLACK.
Now, when I'm setting "android:textColor" directly on the Button, it works.
So, supposed textAppearance is not working, the button label would still be
BOLD and in the specified size of 20sp.
Is this a bug to report or a behavior to avoid?
Android 2.2, HTC Desire.
Thanks!
Sebastian
--
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