From: masensio Date: Mon, 26 Jan 2015 12:09:07 +0000 (+0100) Subject: Fix bug: Footer is not shown correct in the grid view X-Git-Tag: oc-android-1.7.0_signed~16^2~7 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/d2d20d9ec1b7d19bba4a09c67c5874bb9f6aae3a?hp=--cc Fix bug: Footer is not shown correct in the grid view --- d2d20d9ec1b7d19bba4a09c67c5874bb9f6aae3a diff --git a/src/com/owncloud/android/ui/fragment/ExtendedListFragment.java b/src/com/owncloud/android/ui/fragment/ExtendedListFragment.java index 02f4103d..8aefec01 100644 --- a/src/com/owncloud/android/ui/fragment/ExtendedListFragment.java +++ b/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(); }