ListItemFocusablesClosepublic class ListItemFocusablesClose extends android.util.ListScenario Each list item has two focusables that are close enough together that
it shouldn't require panning to move focus. |
Methods Summary |
---|
protected android.view.View | createView(int position, android.view.ViewGroup parent, int desiredHeight)
return ListItemFactory.twoButtonsSeparatedByFiller(
position, parent.getContext(), desiredHeight);
| public android.view.View | getChildOfItem(int listIndex, int index)Get the child of a list item.
return ((ViewGroup) getListView().getChildAt(listIndex)).getChildAt(index);
| protected void | init(Params params)
params.setItemsFocusable(true)
.setNumItems(2)
.setItemScreenSizeFactor(0.55);
|
|