Monday, August 15, 2011

[android-developers] Re: Tricky layout

Got it!

I started thinking about using the FrameLayout as Matt mentioned but
as a wrapper to the table and just using it to house the backgroung,
then I added padding on the uppermost area that held the background I
wanted and voila! That did it.

On Aug 15, 8:47 am, darrinps <darri...@gmail.com> wrote:
> Thanks. This app is going to be used on a lot of devices of varying
> sizes and in both landscape and portrait orientation so I need
> something "automatic" and cannot really calculate exact X/Y
> coordinates.
>
> On Aug 13, 8:17 pm, Matt Clark <mrclark32...@gmail.com> wrote:
>
>
>
>
>
>
>
> > If you use <FrameLayout> instead of <LinearLayout> or <RelativeLayout>
> > you can use [android:layout_x="xx:px"][android:layout_y="xx:px"] to move
> > your stuff around, you will also be able to layer things based on the order
> > in the XML.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate