On Thu, Feb 26, 2009 at 7:31 AM, Spencer Riddering
<ponderyon...@gmail.com> wrote:
>
> Concerning Romain Guy's post titled "Android Layout Tricks #1" in the
> Android Developers Blog.
>
> I just tried to put it to use on a list item (as the article suggests
> its good for) and it doesn't work for me. Was this code actually
> tested in a list item?

Are you saying you copy/pasted the xml layout from the blog post
verbatim, and it didn't behave as described in the blog post?

> I believe I ran into the same problem last September
>    
> http://groups.google.com/group/android-developers/browse_frm/thread/764ea3532ff7c4e0
> but I never found an explanation.
>
> So, I'm asking a second time;
>
>    Why can't I center things vertically within a RelativeLayout that
> is in a list item?

Because you're doing it wrong? ;)
Seriously though, there are multiple apps that center things
vertically in a RelativeLayout in a list item, so it certainly is
possible.

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to