FileDocCategorySizeDatePackage
ListSimple.javaAPI DocAndroid 5.1 API1642Thu Mar 12 22:22:12 GMT 2015android.widget.listview

ListSimple

public class ListSimple extends android.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);