Woow this sounds very hard. Is it explained somewhere how to do this,
or is there an example?
If I create my own layout-class, can I still use the Layout-Editor
with eclipse?
Greetings, Martin

On 21 Sep., 02:10, Peter Carpenter
<[email protected]> wrote:
> You can create your own class that extends ViewGroup and override the 
> layout/onMeasure functions to explicitly define your own layout.
> Not sure of how to do this via xml though.
>
>
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Martin
> Sent: Tuesday, 21 September 2010 8:02 AM
> To: Android Developers
> Subject: [android-developers] Exact Layout that fits a background image
>
> Hi!
>
> I have a background image (full screen) and want to create an exact
> layout, which fits this background-image. The buttons and labels have
> to be at an exact place of the background-image. How can I do this?
> The absolute-layout is deprecated. If I use relative layout, I can use
> margins, but the positions differ from device to device.
>
> The best thing is if I could set the exact positions as percent of the
> total view size. How can I do this?
>
> Greetings, Martin
>
> --
> 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