私はやったGallery View
gallery = (Gallery) findViewById(R.id.gallery1);
MyAdapter adapter = new MyAdapter(this);
gallery.setAdapter(adapter);
gallery.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View v,
int position, long id) {
Intent go = new Intent(Department2.this,
tablistclass_item.class);
if (!larg) {
go = new Intent(Department2.this, ListClass.class);
}
Bundle b = new Bundle();
b.putString("headername", nameofimage[position]);
b.putString("whichclass", "department");
go.putExtras(b);
startActivity(go);
}
});
}
ではどうやって作るpage indicator
のかGallery view