D
D
Denis2016-08-19 21:53:56
Java
Denis, 2016-08-19 21:53:56

How to set banner coordinates?

Good afternoon.
I have a newbie question, couldn't find answers on google.
I made a small android application in libgdx and I want to show ads on one of the screens. I connected admob, everything is loaded BUT! I explicitly set the dimensions of the application - 800x480 (such were the tasks). And a special frame was drawn under the banner. Accordingly, when the application is launched on a tablet or screen with a different resolution, it is natural that the banner space "floats away". I see how to snap it (banner) in height or align, but is it possible to set the exact coordinates (i.e. I need to get into a clearly defined area). ?
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis, 2016-08-20
@Gatta76

Yes, as I said, the window size is hardcoded. Those. even on a tablet, the app's screen size is the same (in pixels). Accordingly, the application is located in the center of a large (tablet) screen. Conditionally - an application rectangle in a large screen rectangle. Well, the banner, of course, leaves (in my case, up). If you can suggest in which direction to look for a solution - I will be very grateful.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question