I am surprised AbsoluteLayout was ever part of Android knowing full well that future devices would be larger screens with more pixels. From what I've read, you don't want to use it so that you don't have to do special coding when the screen size changes from one device to the next. Using the Linear, Relative, etc layouts allow you to not depend on pixel width/height and thus support every device out there. This should bode well for tablet device with 6"+ larger screens that will have more screen resolution.
On Sat, Jan 30, 2010 at 11:28 AM, theSmith <[email protected]> wrote: > > > On Jan 30, 3:23 am, Martin <[email protected]> wrote: > > Hi! > > > > For my game "Leonard Frog - Beta" in the market, I use an > > AbsoluteLayout to place all the buttons in the correct position like > > in the following image:http://digle.de/friends/LeonardFrogBig.jpg > > > > Now the AbsoluteLayout is deprecated. How can I place these buttons > > now in the right position like in the image without using the > > AbsoluteLayout? (I don't want to cover the frog and other things of my > > background image). > > You should be able to use a relativelayout or a linearlayout and just > add padding in dip (density independent pixels) to the sides of the > buttons. For small screen devices you probably want to create a new > layout with smaller buttons so it displays properly. > > -theSmith > > > > The other problem with my AbsoluteLayout was that my main page of the > > game looks like this on smaller devices: > http://digle.de/friends/LeonardFrogSmall.jpg > > > > I hope, there is a solution for this. > > > > Greetings, Martin > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

