Minor fixes to icon and text color

pull/14/head
Sam Bosley 11 years ago
parent bf8a9fff23
commit c8e81175e8

@ -807,6 +807,7 @@ public class EditPeopleControlSet extends PopupControlSet {
displayString = activity.getString(R.string.TEA_assigned_to, user.toString()); displayString = activity.getString(R.string.TEA_assigned_to, user.toString());
} }
assignedDisplay.setTextColor(themeColor);
assignedDisplay.setText(displayString); assignedDisplay.setText(displayString);
} }

@ -23,6 +23,7 @@
<color name="tablet_list_bg">#292929</color> <color name="tablet_list_bg">#292929</color>
<color name="tablet_list_selected">#000000</color> <color name="tablet_list_selected">#000000</color>
<color name="reminder_background">#262626</color> <color name="reminder_background">#262626</color>
<color name="task_edit_selected">#385487</color>
<color name="widget_text_color_light">#535353</color> <color name="widget_text_color_light">#535353</color>
<color name="widget_text_color_dark">#ffffff</color> <color name="widget_text_color_dark">#ffffff</color>

@ -38,10 +38,7 @@ public abstract class TaskEditControlSet {
if (viewLayout == -1) if (viewLayout == -1)
initialized = true; initialized = true;
TypedValue tv = new TypedValue(); themeColor = activity.getResources().getColor(R.color.task_edit_selected);
activity.getTheme().resolveAttribute(R.attr.asThemeTextColor, tv, false);
themeColor = activity.getResources().getColor(tv.data);
unsetColor = activity.getResources().getColor(R.color.task_edit_deadline_gray); unsetColor = activity.getResources().getColor(R.color.task_edit_deadline_gray);
} }

Loading…
Cancel
Save