android自定义价格日历控件


一个自定义的日历控件,支持普通展示日历或者展示额外信息(如每天的价格不同,需要在日历上展示价格),博客讲解请参考:http://blog.csdn.net/yissan 。欢迎关注我!
资源截图
代码片段和文件信息
package com.qiangyu.test.commoncalendarview;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumentation test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.qiangyu.test.commoncalendarview“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-11-21 15:23  CommonCalendarView
     文件        6148  2016-11-21 15:24  CommonCalendarView.DS_Store
     目录           0  2016-11-21 15:24  __MACOSX
     目录           0  2016-11-21 15:24  __MACOSXCommonCalendarView
     文件         120  2016-11-21 15:24  __MACOSXCommonCalendarView._.DS_Store
     目录           0  2016-11-21 14:54  CommonCalendarView.git
     文件          12  2016-11-17 09:44  CommonCalendarView.gitCOMMIT_EDITMSG
     文件         318  2016-11-16 22:10  CommonCalendarView.gitconfig
     文件          73  2016-11-16 22:10  CommonCalendarView.gitdescription
     文件         106  2016-11-18 15:50  CommonCalendarView.gitFETCH_HEAD
     文件          23  2016-11-17 09:45  CommonCalendarView.gitHEAD
     目录           0  2016-11-16 22:10  CommonCalendarView.githooks
     文件         478  2016-11-16 22:10  CommonCalendarView.githooksapplypatch-msg.sample
     文件         896  2016-11-16 22:10  CommonCalendarView.githookscommit-msg.sample
     文件         189  2016-11-16 22:10  CommonCalendarView.githookspost-update.sample
     文件         424  2016-11-16 22:10  CommonCalendarView.githookspre-applypatch.sample
     文件        1642  2016-11-16 22:10  CommonCalendarView.githookspre-commit.sample
     文件        1348  2016-11-16 22:10  CommonCalendarView.githookspre-push.sample
     文件        4951  2016-11-16 22:10  CommonCalendarView.githookspre-rebase.sample
     文件        1239  2016-11-16 22:10  CommonCalendarView.githooksprepare-commit-msg.sample
     文件        3610  2016-11-16 22:10  CommonCalendarView.githooksupdate.sample
     文件       12241  2016-11-21 14:19  CommonCalendarView.gitindex
     目录           0  2016-11-16 22:10  CommonCalendarView.gitinfo
     文件         240  2016-11-16 22:10  CommonCalendarView.gitinfoexclude
     目录           0  2016-11-16 22:13  CommonCalendarView.gitlfs
     目录           0  2016-11-16 22:13  CommonCalendarView.gitlfsobjects
     目录           0  2016-11-16 22:13  CommonCalendarView.gitlfsobjectslogs
     目录           0  2016-11-16 22:13  CommonCalendarView.gitlfs mp
     目录           0  2016-11-16 22:13  CommonCalendarView.gitlfs mpobjects
     目录           0  2016-11-16 22:10  CommonCalendarView.gitlogs
     文件         861  2016-11-18 15:50  CommonCalendarView.gitlogsHEAD
............此处省略459个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)