已采納回答 / 慕粉3781038
設置垂直間距android:verticalSpacing="10dp"設置高度為包裹android:layout_height="wrap_content"
2016-08-10
已采納回答 / 慕粉18817939419
那個int i里的i就是相當于position啊,只是一個參數名字而已,你把方法里面的icon[position]改成icon[i]就行了
2016-08-09
已采納回答 / 歲月00靜好
當實際內容并沒有鋪滿屏幕,即不需要滾動條時,scroll.getChildAt(0).getMeasuredHeight()<屏幕的高度.?當實際內容大于整個屏幕,沒有到達底部時scroll.getChildAt(0).getMeasuredHeight()>屏幕的高度+滾動條的滾動距離,到達底部時scroll.getChildAt(0).getMeasuredHeight()=屏幕的高度+滾動條的滾動距離
2016-08-08