Kritzli wrote:
> hm, but if i can't write a file to res/layout/ , how can i load my
> layout ?

You can't. You will have to rethink what you are trying to write, to
determine how you can create it via Java code. Now, it may be that that
Java code you execute uses an XML parser to read an XML file located in
the app's files area, but implementing that is up to you.

> I think there's the same read-only restriction to res/layout as to res/
> raw, isn't it ?

Yes. Everything in res/ is read-only at runtime.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android 2_ from Apress Now Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to