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

LayoutAnimation5

public class LayoutAnimation5 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_5);
        GridView grid = (GridView) findViewById(R.id.grid);
        grid.setAdapter(new AppsAdapter());