package com.example.testgallary;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.os.Bundle;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.BaseAdapter;
import android.widget.Gallery;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
public class MainActivity extends Activity implements OnItemClickListener{
private Gallery mGallery;
private MyAdapter adapter;
private List
//activity_main layout布局文件
创新互联主要从事成都做网站、网站设计、网页设计、企业做网站、公司建网站等业务。立足成都服务兰坪,十载网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18982081108
//list_item.xml
http://670176656.blog.51cto.com/addblog.php
分享题目:Gallery用法之百家姓显示
本文地址:
http://bzwzjz.com/article/pgiphd.html