[android-developers] Inflate Exception -What can be the Cause?Error inflating class unknown

2012-07-12 Thread maccoy
1. Trying to inlfate a XML file in the Activity class. 2. The XML file is stored in assets directory. 3. When calling the inflate method getting the Error inflating class unknown . 4. It shows the XML Tag(TableLayout or Linear Layout) with attributes. Any ideas? -- You

Re: [android-developers] Inflate exception on custom view calling super

2012-05-18 Thread Karakuri Dev
Thanks, I probably never would have found that on my own. But this means that on devices below API 11, I can't have a default style/behavior set for this widget. Are there any workarounds for lower API levels? I want to avoid doing something this ... setClickable(true); ... in the

[android-developers] Inflate Exception

2009-08-17 Thread Sasi Kumar
when i am trying to read a xml file it is showing exception as Inflate Exception The Error is:- android.view.InflateException: Binary XML file line #6: Error inflating class java.lang.reflect.Constructor My XML code is:- ?xml version=1.0 encoding=utf-8? manifest

[android-developers] Inflate Exception

2009-08-17 Thread Sasi Kumar
when i'm trying to read a xml. It is showing an error Infalte Exception XML code is:- ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent

[android-developers] Inflate Exception... how to diagnose?

2008-10-19 Thread DulcetTone
I have an XML file that causes an inflate exception with no discernible detail to help me diagnose what went wrong What is the best way to get Android to offer details on what was objectionable? tone FYI, here was the XML: ?xml version=1.0 encoding=utf-8? RelativeLayout