Improve theme based texts

This commit is contained in:
Michael Schättgen 2019-03-28 01:27:07 +01:00
parent 59c0ca947d
commit f7c32bc28b
4 changed files with 26 additions and 12 deletions

View file

@ -16,4 +16,24 @@ public enum Theme {
}
return null;
}
public static String getThemeName(int x) {
switch(x) {
case 0:
return "Light theme";
case 1:
return "Dark theme";
case 2:
return "Amoled theme";
}
return null;
}
public static String[] getThemeNames() {
return new String[] {
"Light theme",
"Dark theme",
"Amoled theme"
};
}
}