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
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
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
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
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
5 matches
Mail list logo