<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <PreferenceCategory
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:title="Appearance"
        app:allowDividerAbove="false">
        <eu.ottop.yamlauncher.settings.SpinnerPreference
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:defaultValue="#00000000"
            android:entries="@array/bg_options"
            android:entryValues="@array/bg_values"
            app:key="bgColor"
            app:title="Background Color"
            app:useSimpleSummaryProvider="true" />
        <eu.ottop.yamlauncher.settings.SpinnerPreference
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:defaultValue="#FFF3F3F3"
            android:entries="@array/color_options"
            android:entryValues="@array/color_values"
            app:key="textColor"
            app:title="Text Color"
            app:useSimpleSummaryProvider="true" />
        <eu.ottop.yamlauncher.settings.SpinnerPreference
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:defaultValue="system"
            android:entries="@array/font_options"
            android:entryValues="@array/font_values"
            app:key="textFont"
            app:title="Text Font"
            app:useSimpleSummaryProvider="true" />

        <eu.ottop.yamlauncher.settings.SpinnerPreference
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:defaultValue="system"
            android:entries="@array/style_options"
            android:entryValues="@array/style_values"
            app:key="textStyle"
            app:title="Text Style"
            app:useSimpleSummaryProvider="true" />
    </PreferenceCategory>
    <PreferenceCategory
        android:title="Operation"
        app:allowDividerAbove="false">
        <eu.ottop.yamlauncher.settings.SpinnerPreference
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:defaultValue="200"
            android:entries="@array/animation_options"
            android:entryValues="@array/animation_values"
            app:key="animationSpeed"
            app:title="Animation Speed"
            app:useSimpleSummaryProvider="true" />
        <SwitchPreference
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:defaultValue="false"
            android:title="Show Status Bar"
            app:key="barVisibility" />
    </PreferenceCategory>

</PreferenceScreen>