view app/src/main/res/xml/root_preferences.xml @ 21:7e7e71724770

No longer breaks when phone rotated.
author David Barts <n5jrn@me.com>
date Mon, 22 Feb 2021 17:49:27 -0800
parents 20da616dcda0
children 474ef75856c2
line wrap: on
line source

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

    <ListPreference
        android:id="@+id/scale_type"
        android:defaultValue="speed"
        android:key="scale_type"
        android:title="@string/scale_type_title"
        app:entries="@array/scale_type_titles"
        app:entryValues="@array/scale_types"
        app:title="@string/scale_type_title"
        app:useSimpleSummaryProvider="true" />

    <SeekBarPreference
        android:id="@+id/jpeg_quality"
        android:defaultValue="85"
        android:key="jpeg_quality"
        android:max="100"
        android:title="@string/jpeg_quality_title"
        app:defaultValue="85"
        app:min="0"
        app:showSeekBarValue="true"
        app:title="@string/jpeg_quality_title" />

</PreferenceScreen>