how to stretch an image in android
===

i have an image and i want to stretch it according to the screen size.
thats my code:

     <ImageView
        android:id="@+id/imageView1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:adjustViewBounds="false"
        android:baselineAlignBottom="false"
        android:cropToPadding="false"
        android:maxWidth="@dimen/padding_small"
        android:src="@drawable/footerheader_bg" />

what happens is that the imageView frame is indeed stretched from side to side of the screen, but the image inside it remains as small as it was.
the image is a JPEG and im using a mac (if thats relevant).
Thanks! 