Back to project page vitdroid-android.
The source code is released under:
Apache License
If you think the Android project vitdroid-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.googlecode.android.widgets.DateSlider.labeler; /*w w w .jav a2 s. c o m*/ import android.content.Context; import com.googlecode.android.widgets.DateSlider.timeview.TimeLayoutView; import com.googlecode.android.widgets.DateSlider.timeview.TimeView; /** * A Labeler that displays months using TimeLayoutViews. */ public class MonthYearLabeler extends MonthLabeler { /** * The format string that specifies how to display the month. Since this class * uses a TimeLayoutView, the format string should consist of two strings * separated by a space. * * @param formatString */ public MonthYearLabeler(String formatString) { super(formatString); } @Override public TimeView createView(Context context, boolean isCenterView) { return new TimeLayoutView(context, isCenterView, 25, 8, 0.95f); } }