Tuesday, November 15, 2011

[android-developers] Call tab_indicator.xml from styles.xml

Hello,

I'm trying to create a custom theme without relying in classes. Something that is easy enough to plug into an app. My problem is that the TabWidget in styles.xml doesn't reference tab_indicator.xml anywhere so I can't see a way of using a custom style unless I call the style from the layout file or the activity using the tab widget.

This is the only reference I see in styles.xml

<style name="Widget.TabWidget">
        <item name="android:textAppearance">@style/TextAppearance.Widget.TabWidget</item>
        <item name="ellipsize">marquee</item>
        <item name="singleLine">true</item>
    </style>

Any ideas?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment