I've created an android app in a landscape orientation and have integrated mopub ads into it, I want the ads to run sideways down the left and right of the screen however when I set the xml layout to horizontal the text still runs from left the right and I'm left with a vertical banner that has a small box in the centre. I've tried using a rotation animation but when the ad rotates the test ad gets clipped and the text doesn't even appear inside the banner. The only solution I can think of is to turn the activity into portrait and rotate my openGL surface but that would mean I have to rewrite my entire openGl code to rotate everything. Just rotating the camera doesn't work either because I'd have to realign everything and rewrite my interface code.
Is there any way to make the mopub ad load in portrait and have my openGL load in landscape or any solution I haven't thought of that doesn't require me rewriting all my openGL code?
I found this, however I am programing for android and can make no sense of it
I'm currently using a LinearLayout using an xml.