Weeview default event color property fixed
This commit is contained in:
@@ -145,8 +145,8 @@ public class WeekView extends View {
|
|||||||
private int mEventTextColor = Color.BLACK;
|
private int mEventTextColor = Color.BLACK;
|
||||||
private int mEventPadding = 8;
|
private int mEventPadding = 8;
|
||||||
private int mHeaderColumnBackgroundColor = Color.WHITE;
|
private int mHeaderColumnBackgroundColor = Color.WHITE;
|
||||||
private int mDefaultEventColor;
|
private int mDefaultEventColor = Color.parseColor("#9fc6e7");
|
||||||
private int mNewEventColor;
|
private int mNewEventColor = Color.parseColor("#3c93d9");
|
||||||
private String mNewEventIdentifier = "-100";
|
private String mNewEventIdentifier = "-100";
|
||||||
private Drawable mNewEventIconDrawable;
|
private Drawable mNewEventIconDrawable;
|
||||||
private int mNewEventLengthInMinutes = 60;
|
private int mNewEventLengthInMinutes = 60;
|
||||||
@@ -598,11 +598,6 @@ public class WeekView extends View {
|
|||||||
mEventTextPaint.setColor(mEventTextColor);
|
mEventTextPaint.setColor(mEventTextColor);
|
||||||
mEventTextPaint.setTextSize(mEventTextSize);
|
mEventTextPaint.setTextSize(mEventTextSize);
|
||||||
|
|
||||||
// Set default event color.
|
|
||||||
mDefaultEventColor = Color.parseColor("#9fc6e7");
|
|
||||||
// Set default empty event color.
|
|
||||||
mNewEventColor = Color.parseColor("#3c93d9");
|
|
||||||
|
|
||||||
mScaleDetector = new ScaleGestureDetector(mContext, new WeekViewGestureListener());
|
mScaleDetector = new ScaleGestureDetector(mContext, new WeekViewGestureListener());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user