Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with ?colorPrimary not applying the correct color. #41

Open
ItsCalebJones opened this issue Dec 17, 2018 · 2 comments
Open

Issue with ?colorPrimary not applying the correct color. #41

ItsCalebJones opened this issue Dec 17, 2018 · 2 comments

Comments

@ItsCalebJones
Copy link

ItsCalebJones commented Dec 17, 2018

No matter what 'theme' I select the default primary color is only being used for ?colorPrimary.

The blue Title bar on the card is using the attribute:

android:background="?colorPrimary"

The default theme color:

    <color name="cyanea_primary_reference">#2196F3</color>
    <color name="cyanea_accent_reference">#FF5252</color>

The current applied theme in the screenshot is 'Cyanae'.

screenshot_1545073380

EDIT: If I leave that fragment and come back the correct styling applies. I suppose that means I need to reapply the styling in onResume in the fragment just to be sure?

@jrcacd
Copy link
Contributor

jrcacd commented Apr 12, 2019

Any updates on this?

@XuanRanDev
Copy link

I encountered the same problem as you, so I want to ask you if you have solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants