주소록에서 주소록리스트에서의 멤버사진은
작은 사진으로나오는데
멤버개인 상세뷰에서는 큰 사진이 나오게하려는데
어떻게해야되나요
등록시 작은사진 큰사진을 따로등록하는건지....
지금 구현중인데
저는 리스트에서도 작은사진이 나오고
상세뷰에서도 작은사진으로 나옵니다
이미지뷰를 강제적으로 크게셋팅을 해야되는지....
보통은 어떤식으로 하나요?
Cursor photo = mCtx.getContentResolver().query(
Data.CONTENT_URI,
new String[] {Photo.PHOTO}, // column where the blob is stored
Data._ID + "=?", // select row by id
new String[]{photoId}, // filter by the given photoId
null);
Bitmap photoBitmap;
if(photo.moveToFirst()) {
byte[] photoBlob = photo.getBlob(
photo.getColumnIndex(Photo.PHOTO));
photoBitmap = BitmapFactory.decodeByteArray(
photoBlob, 0, photoBlob.length);
} else {
photoBitmap = null;
}
이렇게하면 작은사진이 불러와지는데
큰사진가져오는방법이 따로있나요?




1. 진짜 작은 이미지와 큰 이미지 두개를 받아서 보여줍니다.
2. 작은 이미지를 큰 이미지뷰에 맞게 늘려서 보여 줍니다(이미지가 깨질수 있습니다.)
- imageView.setScaleType(ImageView.ScaleType.FIT_XY);