Skip to content

The style of FloatingActionButton must use a color state list as its background #117

@NeverGivinUp

Description

@NeverGivinUp

Yes, I know it's not even published yet. Sorry for nagging.

Currently the style <style name="carbon_FloatingActionButton"> has the item <item name="android:background">?attr/colorAccent</item>. This should be something like <item name="android:background">@color/accent_button</item>, where accent_button is a statelist like

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/accent_disabled"/>
<item android:color="@color/accent"/>
</selector>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions