I'm working on a game and have a scenario where I want to overlay a layout
containing a TextView on top of my game canvas for status updates, and so
on. I guess the catch is that I want the layout to be locked at the bottom
of the screen (horizontal) at all times. I've done this for my fantasy
I don't follow your scenario. That being said, I recommend
RelativeLayout for overlapping views. The people using FrameLayout for
this role are either stuck with everything in the upper-left corner or
will have maintenance problems with multiple screen sizes.
On Mon, Aug 23, 2010 at 5:16 PM,
Indeed, positioning does become an issue with FrameLayout. I'm not sure
whether or not it's an acceptable thing to do for games, as it's certainly
my first. Positioning is really important for my game, even down to pixels
and so I've had to come up with a lot of math to figure out the correct
3 matches
Mail list logo