List of usage examples for android.widget ListView setOverscrollFooter
public void setOverscrollFooter(Drawable footer)
From source file:org.solovyev.android.messenger.BaseListFragment.java
protected void fillListView(@Nonnull ListView lv, @Nonnull Context context) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ECLAIR) { lv.setScrollbarFadingEnabled(true); }//from w ww . j a v a 2 s .c om lv.setBackgroundDrawable(null); lv.setCacheColorHint(Color.TRANSPARENT); ListViewScroller.createAndAttach(lv, this); lv.setFastScrollEnabled(true); lv.setTextFilterEnabled(false); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { lv.setOverscrollFooter(null); } lv.setVerticalFadingEdgeEnabled(false); lv.setFocusable(false); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { lv.setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_RIGHT); } lv.setDivider(new ColorDrawable(Color.LTGRAY)); lv.setDividerHeight(1); }