//定义一个访问图片的数组
int[] images = new int[] {
R.drawable.java,
R.drawable.ee,
R.drawable.classic,
R.drawable.ajax,
R.drawable.xml,};
这表明创建的图片数组有五个元素,图片来源于R.drawable资源中,后面的英文是图片名称,不是文件类型。
//定义一个访问图片的数组
int[] images = new int[] {
R.drawable.java,
R.drawable.ee,
R.drawable.classic,
R.drawable.ajax,
R.drawable.xml,};
这表明创建的图片数组有五个元素,图片来源于R.drawable资源中,后面的英文是图片名称,不是文件类型。