Domanda

I have a border layout with absolute center. The south container has three element. Ad and two buttons. Now, when the page loads the ad component is empty so it takes no space and all the elements are drawn to the screen. When the ad loads, all the components above are shifted. Is there a workaround to this issue ? Thanks, Sanket

È stato utile?

Soluzione

The main focus of Codename One is on the new ad component based on Google Play ads. So changes to the old ad component probably won't happen since its architecture is problematic with newer ad platforms.

You can reserve space for the ad by setting its preferred size but that is problematic since you will be hardcoding the sizes of the ads.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top