I have an android app that loads a picture from a live webcam feed. This image is displayed within the app. The image would fill the screen nicely but for some reason - because of some Android update (App is about 4 years old and problem is old also..) the image does not resize and remains as a small box.
This is the XML code I use for the image:
<com.test.LoaderImageView
android:id="@+id/loaderImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
image="http://www.tests.com/webcam.jpg" />