<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app2="http://schemas.android.com/apk/res-auto">

    <net.kdt.pojavlaunch.prefs.BackButtonPreference/>

    <PreferenceCategory android:title="@string/preference_category_java_tweaks">
        <Preference
            android:key="install_jre"
            android:persistent="false"
            android:summary="@string/multirt_subtitle"
            android:title="@string/multirt_title"/>

        <!-- Nexus: JVM argument presets (fills the Java arguments below) -->
        <androidx.preference.ListPreference
            android:key="nexus_jvm_preset"
            android:persistent="false"
            android:title="@string/nexus_pref_jvm_preset_title"
            android:summary="@string/nexus_pref_jvm_preset_summary"
            android:entries="@array/nexus_jvm_preset_names"
            android:entryValues="@array/nexus_jvm_preset_values" />

        <!-- Nexus: default garbage collector (profiles can override it) -->
        <androidx.preference.ListPreference
            android:key="nexus_gc"
            android:title="@string/nexus_pref_gc_title"
            android:defaultValue="default"
            android:entries="@array/nexus_gc_names"
            android:entryValues="@array/nexus_gc_values"
            app2:useSimpleSummaryProvider="true" />

        <androidx.preference.EditTextPreference
            android:dialogTitle="@string/mcl_setting_title_javaargs"

            android:key="javaArgs"
            android:singleLine="true"
            android:summary="@string/mcl_setting_subtitle_javaargs"
            android:title="@string/mcl_setting_title_javaargs" />

        <net.kdt.pojavlaunch.prefs.CustomSeekBarPreference
            android:key="allocation"

            android:summary="@string/mcl_memory_allocation_subtitle"
            android:title="@string/mcl_memory_allocation"
            app2:showSeekBarValue="true"
            app2:min="@integer/memory_seekbar_min"
            app2:seekBarIncrement="@integer/memory_seekbar_increment"
            app2:selectable="false"/>

        <SwitchPreference
            android:defaultValue="false"
            android:key="disable_autojre_select"
            android:title="Disable automatic JRE selection"
            />
            
    </PreferenceCategory>


</PreferenceScreen>