Figured out there is an internal implementation of XmlResourceParser.
It works for compiled resources only.

Are there any plans in the roadmap of coming up with an AttributeSet
implementation for non-compiled files as well ?

On Feb 2, 7:02 pm, priyanka <2priya...@gmail.com> wrote:
> Hello,
>
> I'd like to use a non-compiled file (that I get dynamically from my
> server) in order to fetch the AttributeSet for a component. To put it
> another way - I'd like to create an AttributeSet at runtime. Is that
> possible?
>
> If the only way to do this is by implementing the AttributeSet
> interface, then can you please give me some pointers on how to go
> about it?
>
> I thought I might use XmlResourceParser class probably, but I am
> unable to create an object of XmlResourceParser at runtime with a non-
> compiled file.
>
> I am working on Android 2.0.1. I don't mind even if I have to use a
> newer SDK(2.1) in order to achieve this.
>
> Please feel free to ask for clarifications in case I haven't put
> across my point clearly.
>
> Thanks a lot,
> Priyanka

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