Android Open Source - vitdroid-android Month Year Labeler

From Project

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.

Java Source Code

/*w w w .jav  a2 s. c o m*/
import android.content.Context;


 * 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) {

    public TimeView createView(Context context, boolean isCenterView) {
        return new TimeLayoutView(context, isCenterView, 25, 8, 0.95f);

Java Source Code List