> > How to position the image view with respect to screen size.Any one help on > this? > You don't want to do that...
In my application,i used to customize the position of image view in linear > layout.First,i position the first image view at the centre of the screen > and then i try to position the second image view above the first image > view.But i couldn't do that because the second image view is positioned > with respect to first image view. > Use a RelativeLayout... On the first image, set android:layout_centerInParent="true" On the second image, set android:layout_above="@id/id_of_first_image" Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 27, 2012 at 3:49 AM, Vijay Krishnan <vijay.vijay...@gmail.com>wrote: > Hi all, > In my application,i used to customize the position of image view in > linear layout.First,i position the first image view at the centre of the > screen and then i try to position the second image view above the first > image view.But i couldn't do that because the second image view is > positioned with respect to first image view.How to position the image view > with respect to screen size.Any one help on this? > > Thanks, > vijay.k > > -- > 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 -- 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