Reputation: 77596
All pages of my application use the AbsoluteLayout which is deprecated. I was told that the reason i should not use absolutelayout is that it's not flexible in different screen sizes.
I tested my app with every simulator comes with android sdk, and I had no problem. But all screens on all simulators seem to have the same size. am i safe to go with absolute layout as long as it works on all simulators? 1.1, 1.5, 1.6, 2.0, 2.0.1, 2.2, 2.2
Upvotes: 0
Views: 1230
Reputation: 200080
If all screens on all simulators seem to have the same sizem it's because you are not changing it's resolution at the moment of create them. See Gawcio's response.
am i safe to go with absolute layout as long as it works on all simulators?
No, you are not. You must stop using AbsoluteLayout
... there are better ways to build your application.
Upvotes: 2
Reputation: 1175
You can set screen size when creating AVD (by changing Skin Default HVGA to some other). And you can also change orientation pressing 7 and 9 keys on numeric keyboard.
Upvotes: 2