This is my code:
<ImageView
android:id="@+id/imagen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:scaleType="centerInside"
android:src="@drawable/ig" >
</ImageView>
And works well in portrait mode for some devices. But in landscape the image does not scale up to the width of the parent. The same occurs in portrait when resolution is too high like in nexus 10 tablet. I read about the system prevents the image to be bigger than screen, so height seem to be limitated by this fact, but i have a scrollview and this is not important for me. How can i do this?
Thanks!