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

ListOfTouchables

public class ListOfTouchables extends com.android.frameworktest.util.ListScenario
Each list item has two focusables that are close enough together that it shouldn't require panning to move focus.

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

        Button b = new Button(this);
        b.setText("Position " + position);
        b.setId(position);
        return b;
    
protected voidinit(Params params)

        params.setItemsFocusable(true)
                .setItemScreenSizeFactor(0.2)
                .setNumItems(100);