所以,我已经得到了用户选择出了他的SD卡图像的图像的URI。我想要来显示图像的缩略图,因为很明显,图像可能是巨大的,占据整个屏幕。任何人都知道怎么样?
So i've got a Uri of an image the user chooses out of images off his SD card. And i'd like to display a thumbnail of that image, because obviously, the image could be huge and take up the whole screen. Anyone know how?
尝试:
的Android如何创建运行时缩略图 Android:调整一个大的位图文件缩放的输出文件。 对于较大的图像 Android的图片消气 Android how to create runtime thumbnail Android: Resize a large bitmap file to scaled output file. Android Image Getter for Larger Images