I am having loads of problems with Banner Ads, namely hiding them if the consumer makes any type of purchase in my App.
These problems can be found here:
setVisibility(View.GONE) causes a Crash
So basically I have a new question.
I have a class MainActivity.java with the associated XML. It is possible to have two options of the XML layout (one with the ad, one without), and through a bit of java code assign one of these two XML layouts to the MainActivity class at runtime?
If so, how can it be done?