Actually, the size of the display would be taken into consideration.
I merely want to be able to have precise control over the placement of
the views.  Actually, I have been able to get it to work by creating
my own ViewGroup based class and handling the onLayout call to
reposition all of the child windows.  I presume that this is the
correct approach?:

Thanks

On May 5, 10:34 am, TreKing <[email protected]> wrote:
> On Wed, May 5, 2010 at 11:46 AM, John Gaby <[email protected]> wrote:
> > Now this will display my text, but if I want to set the absolute position
> > of the text, what would I do?
>
> Why do you need absolute positioning? There are many devices with varying
> screen sizes and densities. If you start positioning elements in exact
> locations, your layout is bound to break on some devices. Your best option
> is to position items relative to each other, which is the whole point of
> RelativeLayout specifically.
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
> --
> 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 
> athttp://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

Reply via email to