I was having a problem uploading images in a TextView , when I came across a pretty dumb question, rs, would anyone know how to respond?
Next, I was trying to load a large (high-resolution) image as a background of a TextView , so I figured I'd have to resize the image to give it no problem. So far so good, but I wondered, after all in android the whole image is a bitmap ???
Because I was loading the .jpg image of the drawable folder, direct as resource ( txt.setBackgroundResource()
) was not even using the Bitmap class, however in the error logcat "problems loading bitmap" (something like this).
So the question is, does it matter if I'm working with a drawable (R.drawable.img), an image from a url , or a bitmap, android, internally will work / transform, all in bitmap ?
I know it's a dumb question, but if anyone can clarify it, I appreciate it. And also, no matter where the image comes from, should I always resize it like a bitmap?