android.view.inflateException:Binary XML file line #43:Inflating Class<unknown>

by Aneesh » Sat, 02 Oct 2010 02:12:17 GMT


Sponsored Links
 ai,

I am using MapView in my application.I ma getting
"android.view.inflateException:Binary XML file line #43:Inflating
Class<unknown>" Exception while loading the map second time. First
Time it shows correctly

The XML file i am using shows here

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="vertical"
android:background="@color/black"
android:layout_gravity="center_horizontal"
android:scrollbars="vertical">


<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" android:background="@color/black"
android:layout_gravity="center">

<TextView android:padding="20px" android:text="" android:id="@+id/
eventname" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_gravity="center"
android:textColor="@color/bg_color" android:textStyle="bold"
android:textSize="12px"></TextView>

</LinearLayout>

<ScrollView android:layout_marginBottom="40dip" android:id="@+id/
ScrollView01" android:layout_height="wrap_content"
android:layout_width="fill_parent">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="vertical"
android:background="@color/black">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:paddingLeft="20px" android:layout_height="wrap_content"
android:orientation="horizontal" android:background="@color/black"
android:layout_gravity="center_horizontal">

<ImageView android:id="@+id/ImageView01"
android:scaleType="fitCenter" android:layout_width="100dip"
android:layout_height="120dip" ></ImageView>
<ImageView android:id="@+id/ImageView02"
android:scaleType="fitCenter" android:layout_width="100dip"
android:layout_height="120dip" ></ImageView>
</LinearLayout>
<TextView android:paddingLeft="20px" android:text="" android:id="@
+id/maindet" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_gravity="left"
android:textColor="@color/bg_color" android:textSize="12px"></
TextView>
<TextView android:textStyle="bold" android:paddingLeft="20px"
android:text="Muzieikstijlen" android:id="@+id/stylet"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_gravity="left"
android:textColor="@color/bg_color" android:textSize="12px"></
TextView>



android.view.inflateException:Binary XML file line #43:Inflating Class<unknown>

by TreKing » Sat, 02 Oct 2010 04:58:34 GMT


 



Where is this exception being thrown? What line in the file? Which part of
the code is causing it?

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

--


Sponsored Links


Other Threads

1. Saran, soal No utama di Android

Guys....

Pengen rasain Android sy jadi Hp utama, ya di pake nilpun, sms-an, email, dll secukup-nya hehehe Nah...krn sy pake XL --- sekarang XL Bebas......, terus terang dah trauma, kapok dgn Internet XL, tp koq liat belakangan ini, bahkan sebelum evoria-android --- koq XL Unlimited laku keras...bahkan dgn hrg super-duper mahal utk sy, nah apa udah Ok Apa beda APN-nya ? (kaya TFlash tuuu :D ) Saran utk nyoba ambil yg berapa dulu yah..... :P -- Jus* || owner white google 1 || ~ send using pc jang krik krik krik ~ $ www.cash-flowing.com $ -- "Indonesian Android Community [id-android]"

2. Eclipse setup - how can I run the Email app from the plattform source

I'm also running into issues of missing dependencies and unresolved
resources [R.id and stuff] when trying to build some of the open-
source stock Android apps [like Clock and Email]. Help would be
great!! Have any of you gotten these apps to build and run on your
device?






-- 

3. PackageStats : how to get application size ?

4. installing iperf application on Android Phone

5. Sold Wts android nexus 2nd mint condition

6. Read Vcard

7. Animations problem/suggestion needed