farhan678 / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

Error inflating class AdWhirlLayout in 2.6.0 #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use latest 2.6.0 AdWhirl SDK for Android
2. Try using an XML layout that contains AdWhirlLayout
3.

What is the expected output? What do you see instead?

The AdWhirlLayout should be inflated (as this is apparently supported now in 
this latest version of SDK)

What version of the product are you using? On what operating system?

2.6.0 AdWhirl SDK for Android

Please provide any additional information below.

This is the relevant part of the XML that fails:

    <FrameLayout  
          android:id="@+id/adcontainer" 
          android:layout_width="320dip" 
          android:layout_height="52dip"
          android:layout_gravity="bottom|center_horizontal">

          <AdWhirlLayout
                android:id="@+id/adwhirl_layout"
                android:layout_height="fill_parent"
            android:layout_width="fill_parent">
                </AdWhirlLayout>

        </FrameLayout>

Your "Android SDK Setup" page seems to suggest getting a pointer to this 
adwhirl_layout element from the current layout, but there appears to be no way 
of doing this without getting this error:

12-14 14:35:05.244: ERROR/AndroidRuntime(772): android.view.InflateException: 
Binary XML file line #188: Error inflating class AdWhirlLayout

Original issue reported on code.google.com by jeff.rol...@aifactory.co.uk on 14 Dec 2010 at 2:56

GoogleCodeExporter commented 9 years ago
Try to use com.adwhirl.AdWhirlLayout in your XML file as a workaround. It works 
for me.

Original comment by robderij...@gmail.com on 28 Dec 2010 at 11:20

GoogleCodeExporter commented 9 years ago
Marking this issue as invalid.

Original comment by fch...@google.com on 5 Jan 2011 at 7:49