Thank U Justin for your kind help

On Fri, Jul 27, 2012 at 11:31 PM, Justin Anderson <[email protected]>wrote:

> 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 
> <[email protected]>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 [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
>
>
>  --
> 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

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