Android Open Source - vitdroid-android Day Date 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

//from  w w w. ja va2  s  .  c  om
import android.content.Context;


 * A Labeler that displays days using DayTimeLayoutViews.
public class DayDateLabeler extends DayLabeler {
     * The format string that specifies how to display the day. Since this class
     * uses a DayTimeLayoutView, the format string should consist of two strings
     * separated by a space.
     * @param formatString
    public DayDateLabeler(String formatString) {

    public TimeView createView(Context context, boolean isCenterView) {
        return new DayTimeLayoutView(context, isCenterView,30,8,0.8f);

Java Source Code List