Move to multiplication instead of addition
This commit is contained in:
parent
c1064b1ba7
commit
d83af47eeb
@ -53,7 +53,7 @@ class SourceItem(val manga: Manga, private val catalogueAsList: Preference<Int>)
|
|||||||
MATCH_PARENT, coverHeight / 2, Gravity.BOTTOM
|
MATCH_PARENT, coverHeight / 2, Gravity.BOTTOM
|
||||||
)
|
)
|
||||||
outside.layoutParams = FrameLayout.LayoutParams(
|
outside.layoutParams = FrameLayout.LayoutParams(
|
||||||
MATCH_PARENT, coverHeight + 200
|
MATCH_PARENT, (coverHeight * 1.2).toInt()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
SourceComfortableGridHolder(view, adapter)
|
SourceComfortableGridHolder(view, adapter)
|
||||||
|
@ -60,7 +60,7 @@ class LibraryItem(val manga: LibraryManga, private val libraryViewSetting: Prefe
|
|||||||
gradient.layoutParams = FrameLayout.LayoutParams(
|
gradient.layoutParams = FrameLayout.LayoutParams(
|
||||||
MATCH_PARENT, coverHeight / 2, Gravity.BOTTOM
|
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)
|
LibraryComfortableGridHolder(view, adapter)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user