multiline-collapsingtoolbar
multiline-collapsingtoolbar copied to clipboard
A modified CollapsingToolbarLayout that can deal with multiline titles
This code verifies if the title was ellipsized. If so, the method checkTextEllipsize() keeps decreasing the font size of the title until it fits the screen.
…hen collapsing the toolbar. none - nothing will be auto-animated, i.e. values change gradually as you scroll title - the title blending will be auto-animated when the scrim height has...
I set `app:expandedTitleMarginEnd="56dp"` but the title has no space to the right.
![Uploading Screenshot_2017-03-31-16-04-17.png…]() ![Uploading Screenshot_2017-03-31-16-04-51 (1).png…]()
I'd like to execute the multi line to single line transition in an automated animation, synchronized with the content scrim animation, instead of gradually morphing from multi line to single...
How can I add a background shape/color and align it with the expanded title like so? ![screenshot_1491245756](https://cloud.githubusercontent.com/assets/1614987/24626292/16c424c6-18b1-11e7-8d12-8e1ba238f57d.png) The goal is that the background expands/shrinks with the title.
**Rendering Problems** The following classes could not be instantiated: - net.opacapp.multilinecollapsingtoolbar.CollapsingToolbarLayout (Open Class, Show Exception, Clear Cache) Tip: Use View.isInEditMode() in your custom views to skip code or show sample...
How do we can wrap_content content based on the length of title string rather not setting the fix AppBarLayout layout_height. app:maxLines="x" here value x also not fix;
setCollapsedTitleTextColor and setExpandedTitleColor seems to not show the title with alpha. I tested the original CollapsingToolbarLayout and it works as expected. It seems to jump to white/black or the closest...
Hi, When I try and use the library with a long string, it wraps correctly when fully expanded. However, when it starts collapsing and the text is moved to one...