[android-developers] Re: Inflate Exception -What can be the Cause?Error inflating class
I am wondering is this because of this mentioned in the doc.:
Important For performance reasons, view inflation relies heavily on pre-processing of XML files that is done at build time. Therefore, it is not currently possible to use LayoutInflater with an XmlPullParser over a plain XML file at runtime.
On Thursday, July 12, 2012 4:44:55 PM UTC+5:30, maccoy wrote:
-- On Thursday, July 12, 2012 4:44:55 PM UTC+5:30, maccoy wrote:
- Trying to inlfate a XML file in the Activity class.
- The XML file is stored in assets directory.
- When calling the inflate method getting the Error inflating class <unknown> .
- It shows the XML Tag(TableLayout or Linear Layout) with attributes.
Any ideas?
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home