Move to multiplication instead of addition

This commit is contained in:
Jobobby04 2020-05-24 16:18:02 -04:00
parent c1064b1ba7
commit d83af47eeb
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class SourceItem(val manga: Manga, private val catalogueAsList: Preference<Int>)
MATCH_PARENT, coverHeight / 2, Gravity.BOTTOM
)
outside.layoutParams = FrameLayout.LayoutParams(
MATCH_PARENT, coverHeight + 200
MATCH_PARENT, (coverHeight * 1.2).toInt()
)
}
SourceComfortableGridHolder(view, adapter)

View File

@ -60,7 +60,7 @@ class LibraryItem(val manga: LibraryManga, private val libraryViewSetting: Prefe
gradient.layoutParams = FrameLayout.LayoutParams(
MATCH_PARENT, coverHeight / 2, Gravity.BOTTOM
)
outside.layoutParams = FrameLayout.LayoutParams(MATCH_PARENT, coverHeight + 200)
outside.layoutParams = FrameLayout.LayoutParams(MATCH_PARENT, (coverHeight * 1.2).toInt())
}
LibraryComfortableGridHolder(view, adapter)
}