projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug: Footer is not shown correct in the grid view
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
ui
/
fragment
/
ExtendedListFragment.java
diff --git
a/src/com/owncloud/android/ui/fragment/ExtendedListFragment.java
b/src/com/owncloud/android/ui/fragment/ExtendedListFragment.java
index
02f4103
..
8aefec0
100644
(file)
--- 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();
}