<?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
        app:iconSpaceReserved="false"
        app:title="@string/sets_urdata_group">
        <EditTextPreference
            android:defaultValue="R0TST"
            android:key="callsign"
            android:title="@string/sets_callsign_title"
            app:iconSpaceReserved="false"
            app:useSimpleSummaryProvider="true" />
        <EditTextPreference
            android:defaultValue="LO05io"
            android:key="gridsq"
            android:title="@string/sets_grid_title"
            app:iconSpaceReserved="false"
            app:useSimpleSummaryProvider="true" />
        <ListPreference
            android:defaultValue="0"
            android:entries="@array/sets_powerarr_name"
            android:entryValues="@array/sets_powerarr_value"
            android:key="outpower"
            android:title="@string/sets_your_power"
            app:iconSpaceReserved="false"
            app:useSimpleSummaryProvider="true" />
        <ListPreference
            android:defaultValue="14.0956"
            android:entries="@array/sets_bandarr_name"
            android:entryValues="@array/sets_bandarr_value"
            android:key="band"
            android:title="@string/sets_band"
            app:iconSpaceReserved="false"
            app:useSimpleSummaryProvider="true" />
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="lsb_mode"
            android:summary="Use LSB mode (tx only, tune 3khz higher)"
            android:title="LSB Mode"
            app:iconSpaceReserved="false" />
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="report_volume"
            android:summary="Looks cool, may freeze."
            android:title="Show volume"
            app:iconSpaceReserved="false" />
        <aq.metallists.loudbang.ui.main.IntegerEditTextPreference
            android:defaultValue="-1"
            android:inputType="number"
            android:key="rx_deviceid"
            android:summary="@string/sets_rx_inputdevice_sum"
            android:title="@string/sets_rx_inputdevice"
            app:iconSpaceReserved="false" />
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="mediacapture_mode"
            android:summary="@string/sets_rx_mediacapture_sum"
            android:title="@string/sets_rx_mediacapture"
            app:iconSpaceReserved="false" />
    </PreferenceCategory>

    <PreferenceCategory
        app:iconSpaceReserved="false"
        app:title="@string/sets_location_group">
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="use_gps"
            android:summary="@string/sets_use_gps_sum"
            android:title="@string/sets_use_gps"
            app:iconSpaceReserved="false" />
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="use_celltowers"
            android:summary="@string/sets_use_celltower_summary"
            android:title="@string/sets_use_celltower"
            app:iconSpaceReserved="false" />
        <SwitchPreferenceCompat
            android:defaultValue="true"
            android:key="use_6letter"
            android:summary="@string/sets_use_6letter_sum"
            android:title="@string/sets_use_6letter"
            app:iconSpaceReserved="false" />
    </PreferenceCategory>

    <PreferenceCategory
        app:iconSpaceReserved="false"
        app:title="@string/sets_transmit_group">
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="use_tx"
            android:summary="@string/sets_use_transmit_sum"
            android:title="@string/sets_use_transmit"
            app:iconSpaceReserved="false" />
        <EditTextPreference
            android:defaultValue="25"
            android:dependency="use_tx"
            android:inputType="number"
            android:key="tx_probability"
            android:summary="@string/sets_tx_dutycycle_sum"
            android:title="@string/sets_tx_dutycycle"
            app:iconSpaceReserved="false" />
        <aq.metallists.loudbang.ui.main.IntegerEditTextPreference
            android:defaultValue="16383"
            android:dependency="use_tx"
            android:digits="-0123456789"
            android:inputType="number"
            android:key="tx_soundampl"
            android:summary="@string/sets_tx_soundampl_sum"
            android:title="@string/sets_tx_soundampl"
            app:iconSpaceReserved="false" />
        <ListPreference
            android:defaultValue="music"
            android:dependency="use_tx"
            android:entries="@array/sets_sndoutarr_name"
            android:entryValues="@array/sets_sndoutarr_value"
            android:key="tx_output"
            android:title="@string/sets_tx_sndout"
            app:iconSpaceReserved="false"
            app:useSimpleSummaryProvider="true" />
        <ListPreference
            android:defaultValue="none"
            android:dependency="use_tx"
            android:entries="@array/sets_pttctl_name"
            android:entryValues="@array/sets_pttctl_value"
            android:key="ptt_ctl"
            android:title="@string/sets_tx_pttctl"
            app:iconSpaceReserved="false"
            app:useSimpleSummaryProvider="true" />
    </PreferenceCategory>

    <PreferenceCategory
        app:iconSpaceReserved="false"
        app:title="@string/sets_network_group">
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="use_network"
            android:summary="@string/sets_use_upload_spots_sum"
            android:title="@string/sets_use_upload_spots"
            app:iconSpaceReserved="false" />
    </PreferenceCategory>

</PreferenceScreen>
