made XS size a little bit bigger, so it's 5 on regular phones

pull/3117/head
Jay 4 years ago
parent 083686ce60
commit e2152e7f72

@ -437,7 +437,7 @@ class LibraryController(
2 -> 1.25f 2 -> 1.25f
3 -> 1.66f 3 -> 1.66f
4 -> 3f 4 -> 3f
else -> .66f else -> .75f
} }
recycler.updatePaddingRelative( recycler.updatePaddingRelative(
start = (if (alwaysShowScroller) 2 else 5).dpToPx, start = (if (alwaysShowScroller) 2 else 5).dpToPx,

@ -172,7 +172,7 @@ open class BrowseSourceController(bundle: Bundle) :
2 -> 1.25f 2 -> 1.25f
3 -> 1.66f 3 -> 1.66f
4 -> 3f 4 -> 3f
else -> .66f else -> .75f
} }
(layoutManager as androidx.recyclerview.widget.GridLayoutManager).spanSizeLookup = object : androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup() { (layoutManager as androidx.recyclerview.widget.GridLayoutManager).spanSizeLookup = object : androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup() {

Loading…
Cancel
Save