Hi all,

I have defined some attributes in my view and I can assign them like:

<?xml version="1.0" encoding="utf-8"?>
<com.taypo.android.trskb.LatinKeyboardView
        xmlns:android="http://schemas.android.com/apk/res/android";
        xmlns:trskb="
http://schemas.android.com/apk/res/com.taypo.android.trskb";
        android:id="@+id/keyboard"
        ......
        trskb:my_attr="some_value"
/>

This works. But when I want to do the same thing with styles.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources
    xmlns:android="http://schemas.android.com/apk/res/android";
    xmlns:trskb="http://schemas.android.com/apk/res/com.taypo.android.trskb
">
    <style name="MyKeyboardViewStyle">
          <item name="trskb:my_attr">some_value</item>
</resources>

I get "No resource found that matches the given name". I think I am missing
something. Any ideas?

Cheers
-- 
Bahadır Yağan

-- 
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