FileDocCategorySizeDatePackage
LayoutAnimation1.javaAPI DocAndroid 1.5 API2464Wed May 06 22:41:08 BST 2009com.example.android.apis.view

LayoutAnimation1

public class LayoutAnimation1 extends android.app.Activity

Fields Summary
private List
mApps
Constructors Summary
Methods Summary
private voidloadApps()

        Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
        mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);

        mApps = getPackageManager().queryIntentActivities(mainIntent, 0);
    
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        loadApps();

        setContentView(R.layout.layout_animation_1);
        GridView grid = (GridView) findViewById(R.id.grid);
        grid.setAdapter(new LayoutAnimation1.AppsAdapter());