http://code.google.com/android/reference/android/view/View.html#attr_android:paddingTop
?

Cheers,
Justin
Android Team @ Google

On Oct 20, 3:55 pm, Yav <[EMAIL PROTECTED]> wrote:
> Hi, this is a very simplistic question, however, after struggling for
> an hour I've decided to ask here.
> Basically, I have a login form composed of a Relative Layout, some
> Text Fields and Buttons. I would like to add an ImageView and position
> it in the middle of the width with margin of the top of 20 px. The
> positioning has to be constant so that when the screen is rotated the
> Image remains in the middle of the screen's width and 20 px off the
> top. Any suggestions how to achieve that? Thanks.
--~--~---------~--~----~------------~-------~--~----~
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