Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The icon of the fab is shown as background for the toolbar. #22

Open
arturs105 opened this issue Aug 16, 2016 · 0 comments
Open

The icon of the fab is shown as background for the toolbar. #22

arturs105 opened this issue Aug 16, 2016 · 0 comments

Comments

@arturs105
Copy link

arturs105 commented Aug 16, 2016

This problem occurs when the following actions are executed:

  1. Change the icon of the fab with fab.setImageResource(int res)
  2. Call fabLayot.Show() to transform the fab into toolbar.
  3. Now the new icon of the fab will be animated and also stay as background for the toolbar

I have tested this behaviour on:

  • Nexus 5 (Android 6.0.1)
  • Samsung Galaxy Note 3 Lite (Android 5.1.1)
  • Nexus 10 emulator (Android 4.4)

If android:background element is set for the toolbar, then the fab's icon won't stay as background for the toolbar, but the animation issue still remains.

This issue might be related to Issue on Sony Devices with FabToolbar, but this is a problem for more than just Sony devices.

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

No branches or pull requests

1 participant