Android 使用卡住标题和列为日历事件创建布局

标签 android android-layout android-studio calendar android-tablelayout

我需要在图像附加时实现布局。

enter image description here

按天和用户分组显示事件。我还找到了一些库,例如 TableFixHeaders、Android-Week-View

但似乎达不到我的要求,需要大量时间学习修改。

是否还有其他库或者我必须从头开始工作?

感谢您的帮助。

最佳答案

为此,您可以使用 https://github.com/alamkanak/Android-Week-View

enter image description here

功能

Week view calendar

Day view calendar

Custom styling

Horizontal and vertical scrolling

Infinite horizontal scrolling

通过gradle抓取

compile 'com.github.alamkanak:android-week-view:1.2.6'

关于Android 使用卡住标题和列为日历事件创建布局,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36935598/

相关文章:

android - 如何在 android 中使用 Text Watcher 从 Recycler View 适配器获取编辑文本位置

android - 带徽章的 BottomAppBar 导航图标

android - gradle 中的解析错误 - ExecException

android - 如果我不在 Android 中压缩一个纯文本文件,它会在 APK 中被压缩吗?

android - 如何从 Android 中的 C++ 库调用方法?

java - 解决错误::撤销权限android.permission.CALL_PHONE

android - Arrayoutofboundsexception 使用 setspan

java - 以编程方式将布局添加到 fragment

android - 默认情况下,Android 手机上的 Firebase FCM token 存储在哪里

c - 错误 : "Android log was not declared in this scope"