I'm not sure I understand the reason for that though. If you chose not
to use xml layouts to set up your view, it's incredibly difficult to
use a layout in code to draw your view. The only other option is to
override onDraw in which case aren't you hand drawing everything in
absolute coordinates?

On Dec 10, 12:55 pm, Dianne Hackborn <[email protected]> wrote:
> The point of deprecating AbsoluteLayout is that you shouldn't be doing
> layout in absolute coordinates. ;)
>
>
>
>
>
> On Wed, Dec 9, 2009 at 10:28 PM, 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]<android-developers%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
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

Reply via email to