I'm using the Rotten Tomatoes sample app from here: Rotten Tomatoes sample app.
But the movie poster images are not displaying full size on my phone. The layout width and height properties are both set to "wrap_content", but the images display shrunken. I have to set an actual pixel size for the width and height in order for them to display properly. I don't know why this is happening.
Does not work:
<ImageView
android:id="@+id/ivPosterImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:src="@drawable/large_movie_poster" />
Does work:
<ImageView
android:id="@+id/ivPosterImage"
android:layout_width="121dp"
android:layout_height="179dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:src="@drawable/large_movie_poster" />