After being forced to move away from AbsoluteLayout (not because it was depreciated, but because of the new screen densities that it wouldn't support) I choose to use RelativeLayout (although FrameLayout works the same way).
I was successful after making the following changes to ALL xml files: 1. Change AbsoluteLayout to either RelativeLayout or FrameLayout 2. Change android:layout_x => android:layout_marginLeft 3. Change android:layout_y => android:layout_marginTop You should also start making more use of "wrap_content" and "fill_parent". As well using "android:layout_alignParent???="true" (works only with RelativeLayout, hence why I chose it)". Hope this helps S. On Dec 10, 1:28 am, sheng wang <[email protected]> wrote: > Hi, > > Since the absolutelayout is deprecated, how to put a widget (suck as a > button) on arbitary (X,Y) > > thx -- 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

