更改选定日期的颜色在Android的CalendarView部件 [英] Changing the color of selected dates in android's CalendarView widget

查看:4497
本文介绍了更改选定日期的颜色在Android的CalendarView部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改选定日期由机器人提供的CalendarView插件的颜色。我似乎没有找到任何办法的文件中。

How do i change the color of the selected day in the CalendarView widget provided by android. I don't seem to find any way in the documentation.

我可以使用setSelectedDateVerticalBar属性改变VerticalBars,但我想设置像这样PIC所示的背景颜色。

I can change the VerticalBars using setSelectedDateVerticalBar attribute but I want to set a background color like the one shown in this pic.

我要设置的颜色和外观像一个在左边,但所有我能得到的是一个在右边。难道CalendarView库建成如此糟糕?

I want to set the color and appearance like the one on the left but all I can get is the one on the right. Is the CalendarView library so poorly built?

任何帮助是极大的AP preciated。

Any help is greatly appreciated.

推荐答案

有没有办法做你正在努力实现当前的内容。日历视图是非常有限的功能。

There is no way to do what you are trying to achieve currently. The Calendar View is very limited in its functionality.

请参阅此: 变化CalendarView风格

这篇关于更改选定日期的颜色在Android的CalendarView部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆