OSDN Git Service

Fix DatePicker max date, disabled day color, and arrow visibility
authorAlan Viverette <alanv@google.com>
Tue, 28 Apr 2015 21:07:36 +0000 (14:07 -0700)
committerAlan Viverette <alanv@google.com>
Tue, 28 Apr 2015 21:07:36 +0000 (14:07 -0700)
commit5c33949d0272c4dfc313cf8b56d28597e2ec2c62
treeeb29fa273a59d35ed6fe9bd75f842a1f6b25a4d9
parente658285baf86a223ad369851d1fc5ebacad7b408
Fix DatePicker max date, disabled day color, and arrow visibility

Day validation moved from the PagerAdapter to the DayPickerView,
which is widget that actually handles the touch interaction and
disabled state for individual days.

Fixed disabled states for primary and secondary activated text
colors. Replaced old light/dark color state lists with themed
versions.

Removed conflicting view visibility changes for managing next and
previous arrows in DayPickerView.

Bug: 20630417
Bug: 20641013
Bug: 20641879
Change-Id: Icdaf02a3b57ec162169c31b8a27ebea908552321
core/java/android/widget/DayPickerPagerAdapter.java
core/java/android/widget/DayPickerView.java
core/java/android/widget/SimpleMonthView.java
core/res/res/color/primary_text_inverse_when_activated_material.xml [moved from core/res/res/color/primary_text_activated_material_dark.xml with 55% similarity]
core/res/res/color/secondary_text_activated_material_dark.xml [deleted file]
core/res/res/color/secondary_text_activated_material_light.xml [deleted file]
core/res/res/color/secondary_text_inverse_when_activated_material.xml [moved from core/res/res/color/primary_text_activated_material_light.xml with 55% similarity]
core/res/res/values/themes_material.xml