Accent color not used on API < 21
See original GitHub issueI use Version 24.1.1.0
and everything was tested on emulators.
Consider the following screenhots:
How it should be: API 24
Not colored correctly: API 16
The preference layout is as follows:
<ListPreference
android:defaultValue="60"
android:dependency="pref_news_notifications"
android:entryValues="@array/news_notifications_interval_values"
android:key="pref_news_notifications_interval"
android:summary="%s"
android:title="@string/preference_news_notifications_interval_title" />
I don’t know if this is really a bug, but I thought you may want to take a look at it.
Thanks in advance!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Android v21 Theme.Appcompat color accent is ignored, no ...
About the accent color. You are using a AppCompat theme so you should remove Android from the namespace inside your theme.
Read more >Specifying your app's color scheme - Apple Developer
Set a global accent color for your app by using asset catalogs. ... Use an accent color to quickly create a unifying color...
Read more >R.color - Android Developers
This constant was deprecated in API level 28. Use a text color from your theme instead. int, system_accent1_0. Lightest shade of the accent...
Read more >How to get system accent color? : r/androiddev - Reddit
The DeviceDefault text appears to work! However, the color always returns the default color #03DAC6 (aqua color). I set the background color ......
Read more >Colors - Universal Theme - Oracle APEX
General colors are used for adding color accents to several application components such as Charts, Cards, and and more. There are 15 primary...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
v24.2.0.0 has been released, update your gradle file:
Okay, I found something interesting about the default implementation. API 17 displays the correct colors, while API 19 doesn’t, and API 21 is correct again. Seriously Google, just WTF?!