이미지를 갤러리보기로로드하고 이미지를 스크롤하는 동안 흔들리는 일이 있거나 붙어있는 것처럼 보입니다. 부드러운 스크롤 갤러리가 있습니다. 이것은 10.1 Samsung Galaxy 태블릿에서 스크롤 할 때만 발생합니다. 이 문제를 해결하도록 도와주세요.갤러리 스크롤링이 부드럽지 않고 태블릿에서 스크롤하는 동안 흔들리는 일종입니다.
내가
@Override
public View getView(int position, View convertView, ViewGroup parent) {
final int pos = position;
View retval = LayoutInflater.from(parent.getContext()).inflate(
R.layout.horrizontallistitem, null);
final ImageView imgitem = (ImageView) retval
.findViewById(R.id.hlvItem);
try {
imgitem.setImageBitmap(CommonKeys
.getBitmapFromAsset("_images/" + dataObjects[pos]
+ ".png"));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return retval;
}
이것은 타블렛에서만 발생하며 다른 전화기에서는 발생하지 않습니까? – Maurice
예, 태블릿에서만 발생합니다. – cavallo