annotate app/src/main/res/xml/root_preferences.xml @ 46:8205f3c17500 default tip

Tweak messages a little.
author David Barts <n5jrn@me.com>
date Wed, 14 Apr 2021 08:18:23 -0700
parents 474ef75856c2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
1 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
2 xmlns:app="http://schemas.android.com/apk/res-auto">
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
3
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
4 <ListPreference
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
5 android:id="@+id/scale_type"
24
474ef75856c2 Optimize for quality by default, now that it runs faster.
David Barts <n5jrn@me.com>
parents: 15
diff changeset
6 android:defaultValue="quality"
15
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
7 android:key="scale_type"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
8 android:title="@string/scale_type_title"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
9 app:entries="@array/scale_type_titles"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
10 app:entryValues="@array/scale_types"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
11 app:title="@string/scale_type_title"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
12 app:useSimpleSummaryProvider="true" />
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
13
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
14 <SeekBarPreference
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
15 android:id="@+id/jpeg_quality"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
16 android:defaultValue="85"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
17 android:key="jpeg_quality"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
18 android:max="100"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
19 android:title="@string/jpeg_quality_title"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
20 app:defaultValue="85"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
21 app:min="0"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
22 app:showSeekBarValue="true"
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
23 app:title="@string/jpeg_quality_title" />
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
24
20da616dcda0 Add preferences.
David Barts <n5jrn@me.com>
parents:
diff changeset
25 </PreferenceScreen>