Tuesday, May 4, 2010

RE: [android-developers] Re: Sliding Drawer question

Thank you, I will give this a try and see what happens.

-----Original Message-----
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of brucko
Sent: Tuesday, May 04, 2010 3:52 AM
To: Android Developers
Subject: [android-developers] Re: Sliding Drawer question

Tommy,

Whilst RelativeLayout is quite powerful, and as Mark stated earlier,
is what you need for your sliding drawer - especially as you have
other elements - you may need to be a little more careful in the order
you declare your view elements.

If you want your SlidingDrawer to go over the top of all of the other
elements, then declare it last in your Relative Layout.

Better still, as it appears you may not be used to RelativeLayout yet
- just try dropping the SlidingDramer for now (Ctrl-c will comment out
the rows in the XML Editor in Eclipse) - put it back in last in your
relative layout when you have the rest of your layout where you want
it.

You need to declare your elements in the correct order.

For example, you should declare tvStationName before TideLoadMessage
if you want TideLoadMessage to obey android:layout_below="@+id/
tvStationName" .


I don't think you want to use "android:layout_below="@+id/lvReport" "
for your Sliding drawer if you want it to open over your lvReport - I
think (not really sure on that).

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

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

No comments:

Post a Comment