I hide admob adview from view.gone:
//adView.setClickable(false); //adView.clearFocus(); //adView.setEnabled(false); //adView.setFilterTouchesWhenObscured(true); //adView.setFocusable(false); //adView.setFocusableInTouchMode(false); adView.setVisibility(View.GONE); adView.startAnimation( animation );
This hides the ad, but the form of advertising is still tangible, so if I touch the area of โโthe advertising space, it still opens the browser and redirects me to the ad, although the ad itself is not visible.
How to disable touch event too? I tried all the lines above, but none of them worked.
Any tips?
Tamas source share