I want to scale image loaded from sd card into the image view .
Problem is whenever i load from sd card the image comes as full screen and i have set all the parameters fill_parent viewbounds scaletype etc. as per other questions.
What should be the way to do it ?
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/Frame"
android:layout_alignLeft="@+id/Load1"
android:adjustViewBounds="true"
android:cropToPadding="true"
android:scaleType="fitXY"
android:src="@android:drawable/alert_light_frame" />
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="14dp"
android:scaleType="fitXY"
android:src="@android:drawable/alert_light_frame" />
this is my image view code can u tell me what to change so that image comes according to the imageview size