Try the below image parameter and u will surely get the correct view.


 <ImageView android:id="@+id/iv_photo" android:layout_below="@+id/llyt_home"
               android:layout_marginLeft="2dp"
               android:layout_marginRight="2dp"
android:layout_gravity="center_horizontal"
               android:layout_width="fill_parent"
android:layout_height="wrap_content"
               android:scaleType="centerInside"
               android:adjustViewBounds="true"
               android:layout_above="@+id/llyt_edit"
android:layout_marginBottom="5dp"/>

Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.



On Wed, Jan 4, 2012 at 5:48 PM, aru padam <[email protected]> wrote:

> Hi all,
>
>
>    I am developing an app, in this there is an image view.An image is
> set to the image view from the album or camera, my problem is the
> image become stretched. How i can avoid the stretching of the image?
> please help me......
>
> --
> 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