<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android">

    <SwitchPreferenceCompat
        app:key="dark_theme"
        app:defaultValue="false"
        app:iconSpaceReserved="false"
        app:title="@string/switch_theme" />

    <ListPreference
        android:key="@string/language_preference"
        android:title="@string/preference_title"
        android:entries="@array/language_array"
        android:entryValues="@array/language_data"
        app:iconSpaceReserved="false" />
</PreferenceScreen>