Comments (8)
谢谢支持,我过两天忙完发布新版本,增加更多attr,以及调整对应的自定义UI绘制,让自定义日历UI更加好懂一点
from calendarview.
感谢你的回复,你好,我想问一下,如果和CoordinatorLayout+AppLayout+TabLayout+ViewRecyclerView一起时候,怎么在判断当CalendarLayout收缩起来时,并且TabLayout也滑动至CalendarLayout下面时,可以把CalendarLayout滑出界面,然后TabLayout就固定在TooBar下面了。不然的话,CalendarLayout还存在,那么就不能让ViewPager更好的利于界面空间了。谢谢了。
from calendarview.
你需要个CalendarLayout收缩的或者展开的回调是吧,目前是不太建议这个控件放AppLayout里面的
from calendarview.
我试过放在AppLayout里面,但是点击年份选择,没有弹出选择窗口,其他还没发现问题,现在我的解决方式是使用CalendarLayout来包裹CoordinatorLayout+AppBarLayout,这样没有出现问题的。现在研究上滑时,TabLayout把收缩的CalendarLayout顶出界面,并固定在TooBar下方,只是我自定义View和滑动处理方面很薄弱,只能边学习边摸索了。
from calendarview.
@bravewh 新版本已经发布,更加方便自定义了
from calendarview.
谢谢,辛苦了,加油。
from calendarview.
楼主,有研究过,将CalendarLayout放入AppLayout或者NestedScrollView后,点击年月选择无法弹出的原因么?并且不需要周视图,只要月视图就好。我虽然因为弹出年月选择,所以只能在自己的项目中实现这个功能了,但是,还是很想知道这个问题的答案,而且,后期楼主会添加记事或者闹钟提醒的功能么?
from calendarview.
@jweihao 当前的版本这个的确是不兼容的,不弹出的原因也很简单,这个控件依赖月视图来计算高度,如果放入NestedScrollView,会导致初始化高度计算为0,我待会发布改进。当然我的个人建议是尽可能不要和其它滚动控件一同使用的,因为这个控件不是特别兼容NestedScroll特性
from calendarview.
Related Issues (20)
- 日期选择问题
- 关于scheme_month_text_color属性
- 是不是已经含泪停止维护了 HOT 3
- 月视图时第一行日期很难点击一次就选中 HOT 2
- How to disable saturday and sunday from the calender HOT 1
- 请问大佬,如何设置月视图显示从本月10号到下个月9号?跪求解答
- CalendarViewDelegate 中 monthStringResId 属性 本该对应月文本id,代码中却对应到周的资源上了
- Bug:滑动过程中可能触发点击事件 HOT 3
- unable to install
- 这个默认值没有必要
- 年视图下的具体日期能否隐藏?
- 请问年视图下如何去掉日期,只显示月份?
- 可以只动态的更新某一天的显示吗 HOT 1
- 是否考虑迁移到mavenCentral ? HOT 5
- Is there DayView available in this amazing library?
- 初始默认隐藏布局:mCalendarLayout.hideCalendarView() 时下方的RecyclerView高度总是wrap_content
- 日历怎么选择一周
- 如何默认选中一个日期 HOT 1
- 范围选择如何设置开始和结束是同一天时间,请教
- 请问如何设置每一项item的高度
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calendarview.