Hello All,
I am trying to migrate from SDK 1.0 to SDK 1.1
for this i have to remove all the references of R.Styleable. from my
code.
While working on this - I am facing two problems:
Problem 1:
I have created one attrs.xml and declaring attributes there which
intern referring to android attributes. as mentioned in below sample:
<declare-styleable name="Gallery1">
<attr name="android:galleryItemBackground" />
</declare-styleable>
But I do not know how to do it for arrays like TextAppearence which
contains array of attributes :(
Problem 2:
I have to use these resources in different application through:
appContext = context.createPackageContext("package_name",
Context.CONTEXT_IGNORE_SECURITY);
appContext.getResources().
this is again a problem as class Resources does not provide any method
to retrieve array by passing the name.
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---