Hi,

I have a button, and am applying a text style to it:

    <Button
      android:textAppearance="@style/foo"
      />

the color defined in the style doesn't get applied to the button
though:

    <style name="foo">
      <item name="android:textSize">18dip</item>
      <item name="android:textColor">#F00</item>
    </style>

the other style elements do get applied though (like the textSize). I
can get the text color to change if I explicitly set it on the button:

   <Button
      android:textAppearance="@style/foo"
      android:textColor="#F00"
      />

am I doing something wrong?

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