Bitmap Confusion Android
- by Farhan
I am getting an image from gallery in onActivityResult() through intent.getdata().
Now i get the data and set it to a bitmap, its size is 716x716 and its setting to full screen. (ImageView's width and height is set to wrap content). Now i created another bitmap after scaling the original through Bitmap.CreateScaledBitmap(orgBitmap,30,30,false);
After this, i make sure these things(width,height n size) and they happen as they should be but the problem is that the image is still taking the full screen... rather it should only take 30dp x 30dp.
Anyone have an idea what might be the problem??? Thanx