Merge "Refresh views on DayPicker appearance changes" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
522e28e943
@@ -148,18 +148,22 @@ class DayPickerPagerAdapter extends PagerAdapter {
|
|||||||
|
|
||||||
void setCalendarTextColor(ColorStateList calendarTextColor) {
|
void setCalendarTextColor(ColorStateList calendarTextColor) {
|
||||||
mCalendarTextColor = calendarTextColor;
|
mCalendarTextColor = calendarTextColor;
|
||||||
|
notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setDaySelectorColor(ColorStateList selectorColor) {
|
void setDaySelectorColor(ColorStateList selectorColor) {
|
||||||
mDaySelectorColor = selectorColor;
|
mDaySelectorColor = selectorColor;
|
||||||
|
notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setMonthTextAppearance(int resId) {
|
void setMonthTextAppearance(int resId) {
|
||||||
mMonthTextAppearance = resId;
|
mMonthTextAppearance = resId;
|
||||||
|
notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setDayOfWeekTextAppearance(int resId) {
|
void setDayOfWeekTextAppearance(int resId) {
|
||||||
mDayOfWeekTextAppearance = resId;
|
mDayOfWeekTextAppearance = resId;
|
||||||
|
notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
int getDayOfWeekTextAppearance() {
|
int getDayOfWeekTextAppearance() {
|
||||||
@@ -168,6 +172,7 @@ class DayPickerPagerAdapter extends PagerAdapter {
|
|||||||
|
|
||||||
void setDayTextAppearance(int resId) {
|
void setDayTextAppearance(int resId) {
|
||||||
mDayTextAppearance = resId;
|
mDayTextAppearance = resId;
|
||||||
|
notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
int getDayTextAppearance() {
|
int getDayTextAppearance() {
|
||||||
|
|||||||
Reference in New Issue
Block a user