garretyoder / Colorful

Android runtime theme library
Apache License 2.0
2.13k stars 193 forks source link

What is the use of "override" and "appcompat"? #21

Closed tcqq closed 6 years ago

tcqq commented 6 years ago

Hi, thankyou your library, I'm useing 2.0 version now, I want know what is the use of override and appcompat?

ColorfulKt.Colorful().apply(activity, override, appcompat);

When should I use true and when should I use false?

garretyoder commented 6 years ago

This is explained in the readme.

The override value will control whether Colorful overrides your activitie's existing base theme, or merely sets primary and accent colors. Note: dark/light themeing will not work when override is disabled

tcqq commented 6 years ago

Ok, thanks.