Dear All:
Im a chinese,my english is not very good,but a problem troubled me for
few days.Im a beginer.
Someone had the same problem on inernet, but the anwsers did not help
me.
I coped the code from someone on inernet.
--------------------------------------------------------------------------
<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.

I just want to know why the textColor in textAppearance is not work...
and 3ks.

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

Reply via email to