Android(安卓)CalendarView非常用属性全解析
16lz
2021-12-04
android:dateTextAppearance
设置日历View在日历表格中的字体皮肤;
android:firstDayOfWeek
指定日历第一个星期的第一天,在日历中横向所在位置,从右边向左数,从1开始计数;
android:focusedMonthDateColor
设置日历表格当月显示的日期字体颜色;
android:maxDate 设置日历能够显示的最大日期;
android:minDate 设置日历能够显示的最小日期;
android:selectedDateVerticalBar
设置当前选择日期选择边框左右两边显示的图标;
android:selectedWeekBackgroundColor
设置当前选择日期所在行的背景颜色(除了选中的日期之外);
android:showWeekNumber
设置是否显示周期数量;
android:shownWeekCount
设置设备一屏显示多少周即多少行;
android:unfocusedMonthDateColor
设置非当前选择月的字体颜色与focusedMonthDateColor
相反;
android:weekNumberColor
设置显示周期编号字体的颜色;
android:weekSeparatorLineColor
设置日历每行之间分割线的颜色;
更多相关文章
- Android之系统自带的文字外观设置及实际显示效果图
- android:gravity 和 android:layout_Gravity
- android输入限制
- unity与Android相互调用
- Android用户界面 UI组件--AdapterView及其子类(二) AdapterViewA
- Android软键盘显示模式及打开和关闭方式
- Android横竖屏切换总结
- Android版本问题记录:Android(安卓)8.0下异常Only fullscreen opa
- Android用户界面 UI组件--ImageView及其子类ImageButton,QuickCo