Hi,
I have problem trying to export an resource attribute. Let's say I
have a jar file containing some android widget class and R.java under
the package com.example.test.
package com.example.test
public class Widget1 extends TextView {
...
}
attr.xml
<resources>
<item type="id" name="widget_id" />
</resources>
So manually generated a jar file that contains the Widget1.class and
auto-generated R.java.
Create a new android project and include the jar file as a library.
Try to use "widget_id" in one of the layout file failed. Try
"android:id="@com.example.test:id/widget_id" and aapt complains
resource cannot be found. Have try aapt -I option to include my custom
jar file but failed too.
So may I know what is the correct way to do it?
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