In my game, I have got a RelativeLayout as my contentView.
It has got 5 views, 3 of them are important here:
- A button (Has the game field as a background image)
- An image view (The player)
- A button (Moving objects in the game as a background image)
The background image of the 2nd button is mostly transparent.
I added all 3 views in this order to my RelativeLayout, but it appears that the image view is below the buttons, so you cannot see the player.
Why is that?
Even though this is a really simple, I could not find any answer to it.
Using a FrameLayout instead of a RelativeLayout didn't work out.
Thanks!