This commit is contained in:
tobiasKaminsky 2015-07-31 18:40:49 +02:00
parent 689199a0b5
commit 608febb1c6
3 changed files with 5 additions and 4 deletions

@ -1 +1 @@
Subproject commit f5fbca24becbb01660abe2a7013c1b536ea8a301
Subproject commit 02c24c8a3bd87382590ece0e0744ad430718b51a

View file

@ -413,8 +413,8 @@ public class ThumbnailsCacheManager {
Paint p = new Paint();
p.setAlpha(230);
c.drawBitmap(resizedPlayButton, (float) ((thumbnail.getWidth() / 2) - ox),
(float) ((thumbnail.getHeight() / 2) + ym), p);
c.drawBitmap(resizedPlayButton, (float) ((thumbnail.getWidth() / 2) + ox),
(float) ((thumbnail.getHeight() / 2) - ym), p);
return resultBitmap;
}

View file

@ -421,7 +421,7 @@ public class OCFileListFragment extends ExtendedListFragment {
foldersCount++;
} else {
filesCount++;
if (file.isImage()){
if (file.isImage() || file.isVideo()){
imagesCount++;
}
}
@ -437,6 +437,7 @@ public class OCFileListFragment extends ExtendedListFragment {
switchToGridView();
} else {
switchToListView();
// switchToGridView();
}
}
}