diff options
author | Erik <epastern@google.com> | 2010-12-23 14:30:37 -0800 |
---|---|---|
committer | Erik <epastern@google.com> | 2011-01-05 10:59:12 -0800 |
commit | eaafa2b48be7194a61754604ae37b3d62e9118d8 (patch) | |
tree | 9c67a71291f355201feb3068c31530913d01b080 /src/com/android/calendar/DayFragment.java | |
parent | 8f7a2b2fb82029bc23fce357d14f4484e80c13fd (diff) | |
download | android_packages_apps_Calendar-eaafa2b48be7194a61754604ae37b3d62e9118d8.tar.gz android_packages_apps_Calendar-eaafa2b48be7194a61754604ae37b3d62e9118d8.tar.bz2 android_packages_apps_Calendar-eaafa2b48be7194a61754604ae37b3d62e9118d8.zip |
b/3314295 Disables the view title and adds a date range
This puts the current date range to the right of the tabs and
turns off the view title. Also fixes the font size on the tabs.
Change-Id: I21b409001a62c74fa2d08d0f00c5a1f332edce3c
Diffstat (limited to 'src/com/android/calendar/DayFragment.java')
-rw-r--r-- | src/com/android/calendar/DayFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/calendar/DayFragment.java b/src/com/android/calendar/DayFragment.java index 81c9c45c..cf158617 100644 --- a/src/com/android/calendar/DayFragment.java +++ b/src/com/android/calendar/DayFragment.java @@ -138,6 +138,7 @@ public class DayFragment extends Fragment implements CalendarController.EventHan mViewSwitcher = (ViewSwitcher) v.findViewById(R.id.switcher); mViewSwitcher.setFactory(this); mViewSwitcher.getCurrentView().requestFocus(); + ((DayView) mViewSwitcher.getCurrentView()).updateTitle(); return v; } @@ -241,6 +242,7 @@ public class DayFragment extends Fragment implements CalendarController.EventHan next.reloadEvents(); mViewSwitcher.showNext(); next.requestFocus(); + next.updateTitle(); } } |