• 大小: 0.27M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-03-27
  • 语言: Java
  • 标签: java  

资源简介


android 很好的日历代码 很好很好哦

资源截图

代码片段和文件信息

// Copyright 2013 Square Inc.

package com.squareup.timessquare;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;
import com.squareup.timessquare.MonthCellDescriptor.RangeState;

public class CalendarCellView extends TextView {

  private static final int[] STATE_SELECTABLE = {
      R.attr.state_selectable
  };
  private static final int[] STATE_CURRENT_MONTH = {
      R.attr.state_current_month
  };
  private static final int[] STATE_TODAY = {
      R.attr.state_today
  };
  private static final int[] STATE_RANGE_FIRST = {
      R.attr.state_range_first
  };
  private static final int[] STATE_RANGE_MIDDLE = {
      R.attr.state_range_middle
  };
  private static final int[] STATE_RANGE_LAST = {
      R.attr.state_range_last
  };

  private boolean isSelectable = false;
  private boolean isCurrentMonth = false;
  private boolean isToday = false;
  private RangeState rangeState = RangeState.NONE;

  public CalendarCellView(Context cont

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-05-27 19:29  android-times-square-master\
     文件         142  2013-05-27 19:29  android-times-square-master\.gitignore
     目录           0  2013-09-20 22:00  __MACOSX\
     目录           0  2013-09-20 22:00  __MACOSX\android-times-square-master\
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\._.gitignore
     文件         491  2013-05-27 19:29  android-times-square-master\CHANGELOG.md
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\._CHANGELOG.md
     文件        5074  2013-05-27 19:29  android-times-square-master\checkstyle.xml
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\._checkstyle.xml
     文件         737  2013-05-27 19:29  android-times-square-master\CONTRIBUTING.md
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\._CONTRIBUTING.md
     目录           0  2013-05-27 19:29  android-times-square-master\library\
     文件         292  2013-05-27 19:29  android-times-square-master\library\AndroidManifest.xml
     目录           0  2013-09-20 22:00  __MACOSX\android-times-square-master\library\
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\library\._AndroidManifest.xml
     文件        1691  2013-05-27 19:29  android-times-square-master\library\pom.xml
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\library\._pom.xml
     文件         382  2013-05-27 19:29  android-times-square-master\library\project.properties
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\library\._project.properties
     目录           0  2013-05-27 19:29  android-times-square-master\library\res\
     目录           0  2013-05-27 19:29  android-times-square-master\library\res\color\
     文件         699  2013-05-27 19:29  android-times-square-master\library\res\color\calendar_text_selector.xml
     目录           0  2013-09-20 22:00  __MACOSX\android-times-square-master\library\res\
     目录           0  2013-09-20 22:00  __MACOSX\android-times-square-master\library\res\color\
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\library\res\color\._calendar_text_selector.xml
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\library\res\._color
     目录           0  2013-05-27 19:29  android-times-square-master\library\res\drawable\
     文件         839  2013-05-27 19:29  android-times-square-master\library\res\drawable\calendar_bg_selector.xml
     目录           0  2013-09-20 22:00  __MACOSX\android-times-square-master\library\res\drawable\
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\library\res\drawable\._calendar_bg_selector.xml
     文件         233  2013-05-27 19:29  __MACOSX\android-times-square-master\library\res\._drawable
............此处省略134个文件信息

评论

共有 条评论