Skip to content

[Material][Android] Override the styles.xml with the MaterialColors color palette? #871

Open
@kazo0

Description

@kazo0

There are cases where the UI may not follow the color palette that is initialized with MaterialColors. For example, launching a native DatePicker on Android will display the DatePicker with whatever default colors are set within the styles.xml.

If we had defined our Material color palette for Uno.Material with these colors:
image

We would still see this for the default native DatePicker:
image

But, we want the native styles to also adapt to whatever color palette was given to Uno.Material

This can be accomplished by overriding the default color values within the Android head's styles.xml
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions