Mercurial > cgi-bin > hgweb.cgi > SimpleResizer
comparison app/src/main/res/xml/root_preferences.xml @ 15:20da616dcda0
Add preferences.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 18 Feb 2021 22:12:19 -0800 |
parents | |
children | 474ef75856c2 |
comparison
equal
deleted
inserted
replaced
14:73beb7c973ae | 15:20da616dcda0 |
---|---|
1 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | |
2 xmlns:app="http://schemas.android.com/apk/res-auto"> | |
3 | |
4 <ListPreference | |
5 android:id="@+id/scale_type" | |
6 android:defaultValue="speed" | |
7 android:key="scale_type" | |
8 android:title="@string/scale_type_title" | |
9 app:entries="@array/scale_type_titles" | |
10 app:entryValues="@array/scale_types" | |
11 app:title="@string/scale_type_title" | |
12 app:useSimpleSummaryProvider="true" /> | |
13 | |
14 <SeekBarPreference | |
15 android:id="@+id/jpeg_quality" | |
16 android:defaultValue="85" | |
17 android:key="jpeg_quality" | |
18 android:max="100" | |
19 android:title="@string/jpeg_quality_title" | |
20 app:defaultValue="85" | |
21 app:min="0" | |
22 app:showSeekBarValue="true" | |
23 app:title="@string/jpeg_quality_title" /> | |
24 | |
25 </PreferenceScreen> |