<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <PreferenceCategory
        app:title="@string/preference_category_widget">
        <Preference
            app:key="calendar_calendars"
            app:title="@string/preference_calendar_calendars"/>
        <ListPreference
            app:defaultValue="10"
            app:entries="@array/preference_calendar_max_events"
            app:entryValues="@array/preference_calendar_max_events"
            app:key="calendar_max_events"
            app:summary="%s"
            app:title="@string/preference_calendar_max_events"/>
        <SwitchPreference
            app:defaultValue="false"
            app:key="calendar_hide_allday"
            app:title="@string/preference_calendar_hide_allday"/>
    </PreferenceCategory>
</androidx.preference.PreferenceScreen>