(Android grid and image switching, GridAndImageSwitch source code download, some comments in the source code: Encapsulate the images into key value pairs into containers to obtain R.layout The component element in main, the replacement animation effect of ImageSwitcher, and the setting of picture switching effect. Because it is the ImageSwitcher that displays pictures, the setting of LayoutParams is also the creation of ImageSwitcher's LayoutParams, the listener triggered when selecting, and the listener triggered when clicking)