[Android] Fix header size
Nicolas Pomepuy
git at videolan.org
Thu Jul 11 13:16:38 CEST 2019
vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Jul 11 10:53:21 2019 +0200| [b4a1590139b6a4752d57dddb11f3cc71f12ce69a] | committer: Geoffrey Métais
Fix header size
> https://code.videolan.org/videolan/vlc-android/commit/b4a1590139b6a4752d57dddb11f3cc71f12ce69a
---
.../src/org/videolan/vlc/gui/view/RecyclerSectionItemGridDecoration.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/view/RecyclerSectionItemGridDecoration.kt b/vlc-android/src/org/videolan/vlc/gui/view/RecyclerSectionItemGridDecoration.kt
index 86cfb3b67..facd475b0 100644
--- a/vlc-android/src/org/videolan/vlc/gui/view/RecyclerSectionItemGridDecoration.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/view/RecyclerSectionItemGridDecoration.kt
@@ -39,7 +39,7 @@ class RecyclerSectionItemGridDecoration(private val headerOffset: Int, private v
for (i in 0 until nbColumns) {
if ((pos - i) >= 0 && provider.isFirstInSection(pos - i)) {
if (BuildConfig.DEBUG) Log.d(TAG, "Adding offset for $pos")
- outRect.top = headerOffset + space
+ outRect.top = headerOffset + space * 2
}
}
}
More information about the Android
mailing list