FileDocCategorySizeDatePackage
ListButtonsDiagonalAcrossItems.javaAPI DocAndroid 5.1 API1873Thu Mar 12 22:22:12 GMT 2015android.widget.listview

ListButtonsDiagonalAcrossItems

public class ListButtonsDiagonalAcrossItems extends android.util.ListScenario

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

        final Slot slot = position == 0 ? Slot.Left :
                (position == 1 ? Slot.Middle : Slot.Right);
        return ListItemFactory.horizontalButtonSlots(
                parent.getContext(), desiredHeight, slot);
    
public android.widget.ButtongetCenterButton()

        return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1);
    
public android.widget.ButtongetLeftButton()

        return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0);
    
public android.widget.ButtongetRightButton()

        return (Button) ((ViewGroup) getListView().getChildAt(2)).getChildAt(2);
    
protected voidinit(Params params)

        params.setItemsFocusable(true)
                .setNumItems(3)
                .setItemScreenSizeFactor(0.2)
                .setMustFillScreen(false);