multiline-collapsingtoolbar
multiline-collapsingtoolbar copied to clipboard
A modified CollapsingToolbarLayout that can deal with multiline titles
![image](https://user-images.githubusercontent.com/29652273/68422243-d9501f00-01b0-11ea-8a34-c8f4d04bcc4d.png) **My XML** Any idea why thats happening? not always but it happens for certain texts.
Addressing #33 This is not the cleanest solution, as it uses specific calculation for the X coordinate when isRTL. Also, it does not address the issue of the animation for...
If I change the Expanded title Font size to a value lesser than 21 sp then title starts coming in Single line with the Ellipses on the end.
Fixes #60 by updating the support library version to 28.0.0 This also updates the compileSdk and targetSdk from version 27 (8.1) to 28 (9.0). --- Another change this adds is...
Fatal Exception: java.lang.IllegalArgumentException: Layout: -9 < 0 at android.text.Layout.(Layout.java:182) at android.text.StaticLayout.(StaticLayout.java:478) at android.text.StaticLayout.(StaticLayout.java:464) at android.text.StaticLayout.(StaticLayout.java:442) at android.text.StaticLayout.(StaticLayout.java:422) at net.opacapp.multilinecollapsingtoolbar.CollapsingTextHelper.calculateUsingTextSize(TbsSdkJava:742) at net.opacapp.multilinecollapsingtoolbar.CollapsingTextHelper.calculateBaseOffsets(TbsSdkJava:462) at net.opacapp.multilinecollapsingtoolbar.CollapsingTextHelper.recalculate(TbsSdkJava:877) at net.opacapp.multilinecollapsingtoolbar.CollapsingToolbarLayout.onLayout(TbsSdkJava:537) at android.view.View.layout(View.java:17829) at android.view.ViewGroup.layout(ViewGroup.java:5851) at...
Hi, It would be great if the library also provided a possibility to add a subtitle to the toolbar. The subtitle would show below the title even in collapsed mode....
![screen shot 2016-11-28 at 11 31 38 am](https://cloud.githubusercontent.com/assets/12875728/20658427/92968ffa-b55e-11e6-8554-b9b1fa5cc547.png) I have added text shadow on expanded text everything is working perfect but you can see the shadow of word urdu on...
Based on the collapsedTextColor and expandedTextColor's alpha value, I have limited the range of alpha values that can change when the color of the title changes.