Closed ButterRhopa closed 6 years ago
Currently, this is not possible because we have not added a method that allows to set these values. Instead, the values are hard-coded to lineSpacingMultiplier = 1
and lineSpacingExtra = 0
.
It should be quite straightforward to add two methods for setting these values both to CollapsingTextHelper
and then to CollapsingToolbarLayout
(where the latter just needs to call the corresponding methods in CollapsingTextHelper
). The point where the values are currently hard-coded is here.
Would you like to fork our repository and submit a pull request to add these methods?
How to set the line spacing(like lineSpacingExtra or lineSpacingMultiplier) of expanded title? I am a new to Android and the project is too complex for me......So i did not find the answer
thanks a lot.