Methods Summary |
---|
protected android.view.View | createView(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.Button | getCenterButton()
return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1);
|
public android.widget.Button | getLeftButton()
return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0);
|
public android.widget.Button | getRightButton()
return (Button) ((ViewGroup) getListView().getChildAt(2)).getChildAt(2);
|
protected void | init(Params params)
params.setItemsFocusable(true)
.setNumItems(3)
.setItemScreenSizeFactor(0.2)
.setMustFillScreen(false);
|