我正在尝试开发Android3.1平板电脑应用程序。这个app会有很多图片,我已经关注了ProcessingBitmapsOfftheUIThread教程,但我做错了,因为我得到:java.lang.ClassCastException:android.widget.AbsListView$LayoutParams无法转换为android.widget.Gallery$LayoutParams这是我的代码:我在Activity上设置图库mFactGallery=(Gallery)mView.findViewById(R.id.factGallery);mFactGallery.setA