final int numItemsOnScreen = getScreenHeight() / 18; params.setNumItems(numItemsOnScreen + 5) .setItemScreenSizeFactor(18.0 / getScreenHeight()) .setItemsFocusable(false);