try {
Method method = AbsListView.class.getDeclaredMethod("setOverScrollMode", int.class);
method.setAccessible(true);
method.invoke(this, 2);//View.OVER_SCROLL_NEVER
} catch (Exception e) {
e.printStackTrace();
}
如果android:fadingEdge="none" 達不到你想要的效果
那麼請試試上面的方法。。在你自定義的listview中。·。·