android日历代码加布局,android – 更改CalendarView样式
在我的项目中,我在我的主题中定义了属性“android:calendarViewStyle”.@style/Widget.CalendarView.Custom@color/cs_textcolor@color/red@style/TextAppearance.Medium@style/TextAppearance.Medium所有风格的可能性是:> @attr ref android.R.
在我的项目中,我在我的主题中定义了属性“android:calendarViewStyle”.
@style/Widget.CalendarView.Custom
@color/cs_textcolor
@color/red
@style/TextAppearance.Medium
@style/TextAppearance.Medium
所有风格的可能性是:
> @attr ref android.R.styleable#CalendarView_showWeekNumber
> @attr ref android.R.styleable#CalendarView_firstDayOfWeek
> @attr ref android.R.styleable#CalendarView_minDate
> @attr ref android.R.styleable#CalendarView_maxDate
> @attr ref android.R.styleable#CalendarView_shownWeekCount
> @attr ref android.R.styleable#CalendarView_selectedWeekBackgroundColor
> @attr ref android.R.styleable#CalendarView_focusedMonthDateColor
> @attr ref android.R.styleable#CalendarView_unfocusedMonthDateColor
> @attr ref android.R.styleable#CalendarView_weekNumberColor
> @attr ref android.R.styleable#CalendarView_weekSeparatorLineColor
> @attr ref android.R.styleable#CalendarView_selectedDateVerticalBar
> @attr ref android.R.styleable#CalendarView_weekDayTextAppearance
> @attr ref android.R.styleable#CalendarView_dateTextAppearance
注意:如果showWeekNumber不能用作xml样式,则可以使用setShowWeekNumber(true)在代码中设置.
更多推荐
所有评论(0)