FileDocCategorySizeDatePackage
ListSimple.javaAPI DocAndroid 1.5 API1671Wed May 06 22:42:02 BST 2009com.android.frameworktest.listview

ListSimple

public class ListSimple extends com.android.frameworktest.util.ListScenario

Fields Summary
Constructors Summary
Methods Summary
protected android.view.ViewcreateView(int position, android.view.ViewGroup parent, int desiredHeight)

        View view = super.createView(position, parent, desiredHeight);
        view.setBackgroundColor(0xFF191919);
        ((TextView) view).setTextSize(16.0f);
        return view;
    
protected voidinit(Params params)

        params.setStackFromBottom(false)
                .setStartingSelectionPosition(-1)
                .setNumItems(1000)
                .setItemScreenSizeFactor(0.14);
    
protected voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
    
        getListView().setVerticalScrollBarEnabled(true);
        getListView().setFadingEdgeLength(12);
        getListView().setVerticalFadingEdgeEnabled(true);