我有一个像这样的自定义列表视图。在我的应用程序中,我可以打开相机并将照片拍摄到 SD 卡上。我想在小图像视图中显示拍摄的照片。但我收到以下消息:位图太大而无法上传到纹理中(2448x3264,max=2048x204) 我如何在图像视图中显示这样的图像,例如布局宽度/高度为 90x90dip 和 50X50dip?
提前致谢
编辑1:
cursor = myDBHandler.getAllDifferentNames1();
String[] dbColm = new String[] {"n", "d", "p"};
int[] toList = new int[] {R.id.txt_name, R.id.date, R.id.list_userImage};
SimpleCursorAdapter myCursorAdapter
= new SimpleCursorAdapter
(this, R.layout.listrow, cursor, dbColm , toList );
mainList.setAdapter(myCursorAdapter);