My Designer keeps adding a little padding around my image. I want the image the stick on the top and to fill out the width of the screen. Here's a screenshot from the designer: http://imgur.com/zsck8
This is my XML code:
<ImageView
android:id="@+id/markertap_header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:src="@drawable/header_bootsverleih_xhdpi" />
It looks like the image is larger than the screen width, so it's getting scaled down after sizing. Try adding
android:adjustViewBounds="true"
to yourImageView
.Experienced the same when I used an ImageView for Splashscreen, this^ worked for me.