Search code examples
leadboltinterstitial

LeadBolt Interstitial ad - I can not remove black background


I use interstitial leadbolt ad in my app. Problem that it looks ugly.

there is screenshot

enter image description here

alt text

advert_activity_layout.xml

<?xml version="1.0" encoding="utf-8"?>

<FrameLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="@drawable/bg_result_activity"
        >

</FrameLayout>

AdvertActivity.java

import android.os.Bundle;
import com.Leadbolt.AdController;
import com.alpha_aps.very_hard_game.util.MyActivity;

public class AdvertActivity extends MyActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.advert_activity_layout);

        AdController myController = new AdController(this, Config.leadBoltInterstitialId);
        myController.loadAd();
    }

}

I tried use some different layout such as RelativeLayout, FrameLayout, LinearLayout - no result. Also I tried play with leadbolt ad settings - use different kind of interstitials - no result also.

So questions are:

  1. Why interstitial looks with black background?
  2. How can I remove this background?

Thanks to all.


Solution

  • I updated to the last Leadbolt SDK and black background disappear, I do not why.