Fixed
Status Update
Comments
zo...@gmail.com <zo...@gmail.com> #2
I am experiencing the same problem on multiple devices using 23.2.0
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
This appears to specifically impact Android 5 and 6, but is ok on Android 4
zo...@gmail.com <zo...@gmail.com> #5
Same problem here.
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(?).