Changeset View
Changeset View
Standalone View
Standalone View
res/xml/preferences.xml
Show All 16 Lines | <androidx.preference.EditTextPreference | ||||
android:inputType="number" | android:inputType="number" | ||||
android:title="@string/pref_num_elements" android:key="@string/pref_key_num_recents" | android:title="@string/pref_num_elements" android:key="@string/pref_key_num_recents" | ||||
app:useSimpleSummaryProvider="true" | app:useSimpleSummaryProvider="true" | ||||
android:digits="0123456789" | android:digits="0123456789" | ||||
/> | /> | ||||
--> | --> | ||||
<androidx.preference.SeekBarPreference | <androidx.preference.SeekBarPreference | ||||
android:title="@string/pref_num_elements" android:key="@string/pref_key_num_recents" | android:title="@string/pref_num_elements" android:key="@string/pref_key_num_recents" | ||||
android:defaultValue="4" | android:defaultValue="6" | ||||
android:max="40" | android:max="40" | ||||
app:min="1" | app:min="1" | ||||
android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
app:showSeekBarValue="true" | app:showSeekBarValue="true" | ||||
/> | /> | ||||
<androidx.preference.SeekBarPreference | <androidx.preference.SeekBarPreference | ||||
Show All 28 Lines |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register