I have encountered this issue, and wrote a blog post about it, have a look if you're still stuck: http://developreality.blogspot.com/ Enjoy!
On Apr 29, 6:01 pm, Mark Murphy <[email protected]> wrote: > karthikr wrote: > > I have just realised that AbsoluteLayout has been deprecated in the > > latest sdk, however I have designed my apps based on AbsoluteLayout > > and it is very difficult for me to remove them and change it to a > > different layout. Can someone help me as to how I should proceed? > > AFAIK, you have your choice of: > > -- Change to another layout > > -- Copy the AbsoluteLayout code (and its dependencies) from the source > tree into your project and maintain your own local copy > > -- Start an independent open source project to keep AbsoluteLayout alive > (same as previous option, just perhaps with other people helping you) > > All of these involve some amount of work. > > > Absolute layout was really helpful in positioning the elements to be > > accurate. > > That depends on your definition of "accurate". > > > One could always had different layout definitions for > > different screen sizes, and based on the current width and height the > > required layout can be set. > > You are assuming you will know all of the possible screen sizes. If > Android is a success, you will have no way of knowing, when you write > your software, what screen size will be used, since there will be too > many to keep track of. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

