This is my first question on SO so please be gentle.
My layout basically looks like below. What i want to do is: hide the MobclixMMABannerXLAdView while the ad is not filled. Is this possible with an linear layout like this? can this be done with small changes in code?
My idea was to implement the MobclixAdListener and set View.GONE but it seems there has to be a shorter way.
So my question is: is there a shorter way?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:windowSoftInputMode="stateHidden"
android:focusable="true" android:focusableInTouchMode="true"
android:layout_height="fill_parent" android:layout_width="fill_parent"
android:id="@+id/mainLayout">
<com.mobclix.android.sdk.MobclixMMABannerXLAdView android:id="@+id/banner_adview" android:layout_height="wrap_content" android:layout_width="320dp"></com.mobclix.android.sdk.MobclixMMABannerXLAdView>
<ScrollView android:id="@+id/ScrollView01"
android:layout_width="fill_parent" android:layout_height="wrap_content">
</ScrollView>