Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Expanded Title line spacing #29

Closed
ButterRhopa opened this issue Jan 10, 2017 · 1 comment
Closed

Expanded Title line spacing #29

ButterRhopa opened this issue Jan 10, 2017 · 1 comment

Comments

@ButterRhopa
Copy link

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.

@johan12345
Copy link
Contributor

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants