My problem is the next. I would use relatively large texts as CollapsingToolbarLayout title so I need to show it as multiline mode. When I try to change text appearance through the setExpandedTitleTextAppearance()
method it doesn't work. The code who I used is the next:
<style name="ToolbarExpandedTitle">
<item name="android:textSize">48sp</item>
<item name="android:shadowColor">#ffffff</item>
<item name="android:textColor">@android:color/white</item>
<item name="android:singleLine">false</item>
<item name="android:minLines">3</item>
<item name="android:lines">4</item>
<item name="android:maxLines">5</item>
</style>
I would like to see the title on multiple lines instead of showing the ellipsis.