I can only offer you take a look at what I'm using. This isn't all my
code. Parts of it were posted earlier on this mailinglist.
Keep in mind to fill all the needed variables in there (like adUnitId
and base64PublicKey)
There are also some in-game-payitems defined there, too.
At least the requested layout stuff is in there. So you might find it
useful.
The important part is this one:
@Override
public void setContentView(View view) {
layout = new RelativeLayout(this);
view.setId(SDLViewID);
layout.addView(view);
super.setContentView(layout);
}
Regards
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyGame.java
Type: text/x-java
Size: 8522 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20131024/b705ab2c/attachment-0009.java>