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

Android 4.4: Transition Title does not update #13

Closed
schlesingermatthias opened this issue Jun 21, 2016 · 3 comments
Closed

Android 4.4: Transition Title does not update #13

schlesingermatthias opened this issue Jun 21, 2016 · 3 comments
Labels

Comments

@schlesingermatthias
Copy link

schlesingermatthias commented Jun 21, 2016

Hi,
firstly, thanks for you great work. Unfortunately I ran into an issue using your library on an Android 4.4 device (the issue does not occure on 5.0 or higher). The title of the CollapsingToolbarLayout is updated multiple times during the lifetime of the layout. While the expanded and collapsed title change accordingly the title that is displayed during the transition is always the first ever set.

So here's an example:
Expanded Title: This is my long title
Transition Title (while scrolling up or down): This is my long title
Collapsed Title: This is my long title

Than I want to set another title (happens on update of the fragment)
Expanded Title: My other title is also nice
Transition Title: This is my long title
Collapsed Title: My other title is also nice

See the attached image. The title that was first set ("U11-Mannschaft des SV Reutte...") shows up during the transition of the current title ("Kürzlich wurde im Beisein zahlreicher Ehrengäste...").
bug

Thanks in advance.

@johan12345
Copy link
Contributor

johan12345 commented Jun 21, 2016

Thank you for the bug report! The issue should be fixed with commit 763c0a0 and the next release that we will publish to JCenter soon.

It shouldn't have occurred on Android 4.4, though (only 4.2 and below, which is where we switch from drawing actual text to using precalculated Bitmap textures due to missing hardware acceleration).

@raphaelm
Copy link
Member

Update 1.2.0 is released. )

@schlesingermatthias
Copy link
Author

Awesome. Thanks a ton guys!

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

No branches or pull requests

3 participants