1
I’m trying to put a 704x480 image in an Imageview, but it’s floating with spaces above and below.
Ex.:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/image"
android:src="@drawable/demo"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
What do you want to happen? Do you want me to take the whole screen?
– ramaral
Try using the property android:adjustViewBounds="true".
– Bruno Romualdo