소스 검색

Merge branch 'material_toolbar' of https://github.com/owncloud/android into material_toolbar

Andy Scherzinger 9 년 전
부모
커밋
dde5e5575c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/third_parties/in/srain/cube/GridViewWithHeaderAndFooter.java

+ 1 - 0
src/third_parties/in/srain/cube/GridViewWithHeaderAndFooter.java

@@ -99,6 +99,7 @@ public class GridViewWithHeaderAndFooter extends GridView {
         ListAdapter adapter = getAdapter();
         if (adapter != null && adapter instanceof HeaderViewGridAdapter) {
             ((HeaderViewGridAdapter) adapter).setNumColumns(getNumColumnsCompatible());
+            invalidateRowHeight();
             ((HeaderViewGridAdapter) adapter).setRowHeight(getRowHeight());
         }
     }