Browse Source

Fix bug: Footer is not shown correct in the grid view

masensio 10 years ago
parent
commit
d2d20d9ec1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

+ 1 - 0
src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

@@ -91,6 +91,7 @@ implements OnItemClickListener, OnEnforceableRefreshListener {
     
     protected void switchImageView(){
        imageView.setNumColumns(GridView.AUTO_FIT);
+       imageView.invalidateRowHeight();  // Force to recalculate mRowHeight of imageView
        imageView.invalidate();
     }