Skip to content

Dynamic colors on Android 12 #51

@drmrbrewer

Description

@drmrbrewer

@suchoX I've started to implement dynamic colors in my app, and it's applying the dynamic color scheme fine in all activities except the PlacePicker activity... in that it is still using the internal theme colors. It's possible to customise UI elements via setFabColor() etc but those require an int color resource id like R.color.primaryColor rather than a color attribute like R.attr.colorPrimary and therefore these are not adapting to the dynamic (system) colour scheme and instead using the internal colour e.g. R.color.primaryColor. Is it possible to get around this?

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