This is basically a copy of App Theme Engine by Aidan Follestad which only includes the "Config" part. This library is only for saving and querying theme values. The user is responsible to use those values (applying to Views), unlike ATE this library won't automatically theme your views. As an extra this library includes a few Util methods from ATE and myself to make theming easy.
Add this in your root build.gradle
file (not your module build.gradle
file):
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Add this to your module's build.gradle
file (replace {latest-version} with the version shown in the JitPack badge above):
dependencies {
...
compile ('com.github.kabouzeid:app-theme-helper:{latest-version}@aar') {
transitive = true
}
}