FileDocCategorySizeDatePackage
Gallery1.javaAPI DocGoogle Android v1.5 Example2745Sun Nov 11 13:01:04 GMT 2007com.google.android.samples.view

Gallery1

public class Gallery1 extends android.app.Activity

Fields Summary
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        setContentView(R.layout.gallery_1);

        Gallery g = (Gallery) findViewById(R.id.gallery);
        g.setAdapter(new ImageAdapter(this));
        g.setSelectorSkin(getResources().getDrawable(R.drawable.gallery_background_1));