MCPcopy Create free account
hub / github.com/buggins/coolreader / setCurrentTheme

Method setCurrentTheme

android/src/org/coolreader/CoolReader.java:190–195  ·  view source on GitHub ↗
(String themeCode)

Source from the content-addressed store, hash-verified

188 }
189
190 public void setCurrentTheme(String themeCode) {
191 InterfaceTheme theme = InterfaceTheme.findByCode(themeCode);
192 if (theme != null) {
193 setCurrentTheme(theme);
194 }
195 }
196
197 public void setCurrentTheme(InterfaceTheme theme) {
198 currentTheme = theme;

Callers 2

onCreateMethod · 0.95
applyAppSettingMethod · 0.80

Calls 6

findByCodeMethod · 0.95
getThemeIdMethod · 0.80
recycleMethod · 0.80
setBackgroundColorMethod · 0.80
onThemeChangedMethod · 0.80
getColorMethod · 0.45

Tested by

no test coverage detected