Some colors like grey don't have accent colors which is why the Resources$NotFoundException occurs.
Caused by: android.content.res.Resources$NotFoundException:
at android.content.res.Resources.getValue(Resources.java:2327)
at android.content.res.Resources.getColor(Resources.java:2009)
at android.support.v4.content.ContextCompat.getColor(ContextCompat.java:0)
at co.timetableapp.ui.classes.ClassDetailActivity.setupLayout(ClassDetailActivity.java:0)
at co.timetableapp.ui.base.ItemDetailActivity.onCreate(ItemDetailActivity.java:0)
at android.app.Activity.performCreate(Activity.java:5447)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2393)
This has occurred a lot on devices according to the Play Developer Console.
Some colors like grey don't have accent colors which is why the
Resources$NotFoundException
occurs.This has occurred a lot on devices according to the Play Developer Console.