Gallary装的是缩略图(thumb),ImageSwitcher装的是大图. 不显示图片的一个可能原因是gallery没设置代理器,另一个原因是没使用相对布局. GalleryActivity.java: public class GalleryActivity extends Activity implements OnItemSelectedListener, ViewFactory { /** Called when the activity is first created. */…