Changeset View
Changeset View
Standalone View
Standalone View
res/xml/preferences.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<android.support.v7.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | ||||
xmlns:app="http://schemas.android.com/apk/res-auto"> | xmlns:app="http://schemas.android.com/apk/res-auto"> | ||||
<android.support.v7.preference.PreferenceCategory | <androidx.preference.PreferenceCategory | ||||
android:title="General"> | android:title="General"> | ||||
<android.support.v7.preference.SwitchPreferenceCompat | <androidx.preference.SwitchPreferenceCompat | ||||
android:defaultValue="false" | android:defaultValue="false" | ||||
android:title="@string/settings_experimental" android:key="@string/pref_key_experimental"/> | android:title="@string/settings_experimental" android:key="@string/pref_key_experimental"/> | ||||
</android.support.v7.preference.PreferenceCategory> | </androidx.preference.PreferenceCategory> | ||||
<android.support.v7.preference.PreferenceCategory | <androidx.preference.PreferenceCategory | ||||
android:title="@string/pref_recents_group_title"> | android:title="@string/pref_recents_group_title"> | ||||
<android.support.v7.preference.EditTextPreference | <androidx.preference.EditTextPreference | ||||
android:defaultValue="10" | android:defaultValue="10" | ||||
android:selectAllOnFocus="true" | android:selectAllOnFocus="true" | ||||
android:singleLine="true" | android:singleLine="true" | ||||
android:title="@string/pref_num_elements" android:key="@string/pref_key_num_recents" android:inputType="numberDecimal" | android:title="@string/pref_num_elements" android:key="@string/pref_key_num_recents" android:inputType="numberDecimal" | ||||
android:digits="0123456789" android:ems="10" | android:digits="0123456789" android:ems="10" | ||||
/> | /> | ||||
<android.support.v7.preference.SeekBarPreference | <androidx.preference.SeekBarPreference | ||||
android:title="@string/settings_search_radius" | android:title="@string/settings_search_radius" | ||||
android:key="@string/pref_key_radius_recents" | android:key="@string/pref_key_radius_recents" | ||||
android:defaultValue="500" | android:defaultValue="500" | ||||
android:max="1000" | android:max="1000" | ||||
app:min="20" | app:min="20" | ||||
android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:gravity="center_vertical" | android:gravity="center_vertical" | ||||
/> | /> | ||||
</android.support.v7.preference.PreferenceCategory> | </androidx.preference.PreferenceCategory> | ||||
</android.support.v7.preference.PreferenceScreen> | </androidx.preference.PreferenceScreen> |
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