天天看點

PullToRefreshScrollView顯示不完全

擷取螢幕的高:

WindowManager wm = getActivity().getWindowManager();
int screenWidth = wm.getDefaultDisplay().getWidth();      

設定這個控件的高度為螢幕的高:setMinimumHeight(screenWidth)

實測可用!僅此記錄,以免以後用的時候忘了這麼用