|
28 | 28 | <PreferenceCategory android:key="other_clipboard"
|
29 | 29 | app:iconSpaceReserved="false"
|
30 | 30 | app:title="@string/other_clipboard">
|
31 |
| - <ListPreference |
| 31 | + <com.osfans.trime.ui.components.DialogSeekBarPreference |
32 | 32 | app:key="other_clipboard_limit"
|
33 |
| - android:defaultValue="100" |
| 33 | + android:defaultValue="10" |
34 | 34 | app:iconSpaceReserved="false"
|
35 |
| - app:entries="@array/other__clipboard_manager_entries" |
36 |
| - app:entryValues="@array/other__clipboard_manager_values" |
| 35 | + app:max="100" |
| 36 | + app:systemDefaultValue="0" |
| 37 | + app:systemDefaultValueText="@string/disable" |
37 | 38 | app:title="@string/other_clipboard_limit"
|
38 | 39 | app:useSimpleSummaryProvider="true" />
|
39 | 40 |
|
|
64 | 65 | <PreferenceCategory android:key="other_draft"
|
65 | 66 | app:iconSpaceReserved="false"
|
66 | 67 | app:title="@string/other_draft">
|
67 |
| - <ListPreference |
| 68 | + <com.osfans.trime.ui.components.DialogSeekBarPreference |
68 | 69 | app:key="other_draft_limit"
|
69 | 70 | app:iconSpaceReserved="false"
|
70 |
| - app:entries="@array/other__clipboard_manager_entries" |
71 |
| - app:entryValues="@array/other__clipboard_manager_values" |
| 71 | + android:defaultValue="10" |
| 72 | + app:max="100" |
| 73 | + app:systemDefaultValue="0" |
| 74 | + app:systemDefaultValueText="@string/disable" |
72 | 75 | app:title="@string/other_draft_limit"
|
73 | 76 | app:useSimpleSummaryProvider="true" />
|
74 | 77 |
|
|
0 commit comments