java - 带有自定义日历的名称链接列表
问题描述
我正在使用 java 作为编程语言开发 android 应用程序,我想做一些事情,就像这个 Img Wicht 是日历顶部的名称列表,例如,当用户单击蓝色框时,我得到名称“amel”并在red 我得到“iman”等等 这是我的应用程序 Img2的屏幕截图
这是我的 xml 文件
<?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"> <LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<me.jlurena.revolvingweekview.WeekView
android:id="@+id/revolving_weekview"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:eventTextColor="@android:color/white"
app:hourHeight="60dp"
app:headerColumnPadding="8dp"
app:headerColumnTextColor="#8f000000"
app:headerRowPadding="12dp"
app:noOfVisibleDays="3"
app:headerRowBackgroundColor="@color/white"
app:dayBackgroundColor="#05000000"
app:todayBackgroundColor="#1848adff"
app:headerColumnBackground="#ffefefef"
/>
这个 repo myabe 有用的 weekView 日历
解决方案
推荐阅读
- javascript - 用于创建类似 Kibana 的搜索栏的 JavaScript 包
- vue.js - Vue Chart JS 和选项反应性
- ios - 用不同的字体大小对齐 UIButton 和 UILabel 文本
- java - 当我尝试 git push heroku 时出现错误
- javascript - 我可以为视频流创建 K6 负载测试吗
- linux - iraf, make: *** 没有规则使目标'sptable'。停止
- regex - 无法以正确的方式从某些 json 响应中解析出所有容器中的两个字段
- database - 查询没有主键的 Firestore
- html - 文件链接不可点击
- mysql - 使用 VBA 代码从 excel 连接到 MySQL 服务器