I have this code:
<RelativeLayout
android:orientation="vertical"
android:layout_height="match_parent"
android:layout_width="398px"
android:layout_marginTop="35px"
android:layout_alignParentRight="true" >
....
<ImageView
android:layout_width="373px"
android:layout_height="222px"
android:layout_marginTop="35px"
android:src="@drawable/hairfall_text"
android:layout_below="@+id/pr_title" />
</RelativeLayout>
It renders this image to display like this on my device (P7500 Galaxy Tab 10.1 to be precise):
This is the actual drawable as it is in my resources folder:
Having already googled and exhausted relevant info, I already adjusted the image's pixel format to ARGB_8888 (32bit), also setting the activity's window pixelformat (getWindow().setFormat(PixelFormat.RGBA_8888);
) does nothing.
I hope somebody can shed some light regarding this matter. Thanks alot.