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; //from w w w. ja va2 s . c om import android.content.Context; import com.googlecode.android.widgets.DateSlider.timeview.DayTimeLayoutView; import com.googlecode.android.widgets.DateSlider.timeview.TimeView; /** * 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) { super(formatString); } @Override public TimeView createView(Context context, boolean isCenterView) { return new DayTimeLayoutView(context, isCenterView,30,8,0.8f); } }