Quantcast
Channel: xda-developers - Android Themes
Viewing all articles
Browse latest Browse all 4090

Theme Chooser/CM10 Help - Adding Styles into the style sheet xml...

$
0
0
I'm trying to add a style from an app... Swype... into the style.xml of my theme... I cannot for the life of me get it to compile correctly...

Does anyone know how to include a style from another app into a themes style.xml?

I've called the style in the com_nuance_swype_input.xml

" <item name="style/Swype">@style/com_nuance_swype_input_Swype</item>
<item name="style/Swype.Classic">@style/com_nuance_swype_input_Swype.Classic</item>
"

...and I've added the styles into the style.xml but it just won't work...

<style name="com_nuance_swype_input_Swype">
(there is nothing in this style in the original APK but I figured it would have to be in here as it is the parent)
</style>


<style name="com_nuance_swype_input_Swype.Classic" parent="@style/com_nuance_swype_input_Swype">
<item name="candidateComponent">#ffffa200</item>
etc...
</style>

All I get is this error: Error: No resource found that matches the given name:


Suggestions? I've attached my files...

Attached Files
File Type: rar files.rar - [Click for QR Code] (12.2 KB)

Viewing all articles
Browse latest Browse all 4090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>