Fixed
Status Update
Comments
zo...@gmail.com <zo...@gmail.com> #2
Attaching the test project.
am...@google.com <am...@google.com>
am...@google.com <am...@google.com> #3
Hi,
We have passed this defect on to the development team and will update this issue with more information as it becomes available.
Thanks
We have passed this defect on to the development team and will update this issue with more information as it becomes available.
Thanks
ch...@google.com <ch...@google.com>
ch...@google.com <ch...@google.com> #4
Released in 25.1.0 of the Support Library.
zo...@gmail.com <zo...@gmail.com> #5
Works great now with the 25.1.0 support library. My thanks to the entire team & everyone involved!
Description
Setting the backgroundTintList via XML works fine however - the control changes color when the states change.
Attached is a sample program demoing this issue. It includes two FloatingActionButtons, and two Buttons. One of the FloatingActionButtons and one of the regular buttons have their backgroundTintList setup programmatically, the other is setup via XML in the layout files.
Clicking on any of the controls toggles it's selected state.
The background color state list for each control is setup to use a specific color (Blue) for the unselected state, and another color (Red) for the selected State.
As the demo app shows, only the FloatingActionButton that sets it's backgroundTintList value in XML works as expected. As a control, the regular buttons are both functional, so setting the backgroundTintList value programmatically is OK for that control/in general(?).