FileDocCategorySizeDatePackage
ListOfTouchables.javaAPI DocAndroid 5.1 API1374Thu Mar 12 22:22:12 GMT 2015android.widget.listview

ListOfTouchables

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