aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/lockclock/misc/Constants.java
diff options
context:
space:
mode:
authorDvTonder <david.vantonder@gmail.com>2013-03-10 09:57:00 -0400
committerDvTonder <david.vantonder@gmail.com>2013-03-10 22:01:35 -0400
commitc3ae01e74981cdd6d3c859c1afc8a3a5a3eec077 (patch)
tree46ea2a1c6283f9b9120aabaa25f608ab7458f292 /src/com/cyanogenmod/lockclock/misc/Constants.java
parent4f2c3218ed9dcf77a8e79cf87c8d7ba1ac7a91c6 (diff)
downloadandroid_packages_apps_LockClock-c3ae01e74981cdd6d3c859c1afc8a3a5a3eec077.tar.gz
android_packages_apps_LockClock-c3ae01e74981cdd6d3c859c1afc8a3a5a3eec077.tar.bz2
android_packages_apps_LockClock-c3ae01e74981cdd6d3c859c1afc8a3a5a3eec077.zip
cLock: Add ability to change font and monochrome icon colors
This commit adds the ability to select individual colors for the various panels of the cLock widget. It will also apply the selected color as an overlay on the alarm, weather condition (mono only) and the calendar icons. The colors supported are the standard Android 4.x Holo color set with White, Black and Grey added. IMHO a full color picker would be an overkill for this feature. Change-Id: I621669f49c414b0bbd1236b9d0fb2f0c08e4beea
Diffstat (limited to 'src/com/cyanogenmod/lockclock/misc/Constants.java')
-rw-r--r--src/com/cyanogenmod/lockclock/misc/Constants.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/lockclock/misc/Constants.java b/src/com/cyanogenmod/lockclock/misc/Constants.java
index 1307513..6f59a87 100644
--- a/src/com/cyanogenmod/lockclock/misc/Constants.java
+++ b/src/com/cyanogenmod/lockclock/misc/Constants.java
@@ -29,6 +29,8 @@ public class Constants {
public static final String CLOCK_FONT_MINUTES = "clock_font_minutes";
public static final String CLOCK_FONT_DATE = "clock_font_date";
public static final String CLOCK_SHOW_ALARM = "clock_show_alarm";
+ public static final String CLOCK_FONT_COLOR = "clock_font_color";
+ public static final String CLOCK_ALARM_FONT_COLOR = "clock_alarm_font_color";
public static final String SHOW_WEATHER = "show_weather";
public static final String WEATHER_USE_CUSTOM_LOCATION = "weather_use_custom_location";
@@ -41,6 +43,8 @@ public class Constants {
public static final String WEATHER_USE_ALTERNATE_ICONS = "weather_use_alternate_icons";
public static final String WEATHER_WOEID = "weather_woeid";
public static final String WEATHER_SHOW_WHEN_MINIMIZED = "weather_show_when_minimized";
+ public static final String WEATHER_FONT_COLOR = "weather_font_color";
+ public static final String WEATHER_TIMESTAMP_FONT_COLOR = "weather_timestamp_font_color";
public static final String SHOW_CALENDAR = "show_calendar";
public static final String CALENDAR_LIST = "calendar_list";
@@ -49,6 +53,8 @@ public class Constants {
public static final String CALENDAR_HIDE_ALLDAY = "calendar_hide_allday";
public static final String CALENDAR_SHOW_LOCATION = "calendar_show_location";
public static final String CALENDAR_SHOW_DESCRIPTION = "calendar_show_description";
+ public static final String CALENDAR_FONT_COLOR = "calendar_font_color";
+ public static final String CALENDAR_DETAILS_FONT_COLOR = "calendar_details_font_color";
// other shared pref entries
public static final String WEATHER_LAST_UPDATE = "last_weather_update";
@@ -69,4 +75,8 @@ public class Constants {
public static final int CALENDAR_FORMAT_ALLDAY = CALENDAR_FORMAT_ABBREV_DATE;
public static final int CALENDAR_FORMAT_TODAY = CALENDAR_FORMAT_TIME;
public static final int CALENDAR_FORMAT_FUTURE = CALENDAR_FORMAT_ABBREV_DATETIME;
+
+ public static final String DEFAULT_LIGHT_COLOR = "#ffffffff";
+ public static final String DEFAULT_DARK_COLOR = "#80ffffff";
+
}