I am adding image in android layout. There is no white space in the image at top and bottom but when i add image in imageView it shows white space at top and bottom of image. Hence if i want to add textview immediately below the image space appears between image and textview.
I don't understand why imageview
is showing white space at top and bottom of the image. I have not added anything like android:padding
etc.
<ImageView
android:id="@+id/imageView3"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:src="@drawable/img1" />