[英]How to create custom calendar view in Android Studio?
I followed some tutorials and i tried some examples.我遵循了一些教程,并尝试了一些示例。 Even I'm not get the proper ways to implement the
Custom Calendar
View.即使我没有得到实现
Custom Calendar
视图的正确方法。 I followed the tutorial from LINK and i got the error of USER Permission Calendar READ Or WRITE
, in Manifest file
.我按照LINK的教程进行操作,但在
Manifest file
出现了USER Permission Calendar READ Or WRITE
错误。
After added the Calendar view permission in manifest file even though error is same.在清单文件中添加日历查看权限后,即使错误相同。 i am working in Android studio please guid me !!!
我在 Android Studio 工作,请指导我!!!
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
If above is giving the error then your code must be wrong如果上面给出了错误,那么你的代码一定是错误的
I'm not sure what you try to achieve by using custom calendar view but I suggest that you take a look at this library我不确定您尝试使用自定义日历视图实现什么目标,但我建议您查看此库
It leverages all the work for you, display the same calendar across all devices and versions and it's neat and beautiful with Material design ;)它为您利用所有工作,在所有设备和版本上显示相同的日历,并且材料设计简洁美观;)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.