- <ListPreference
- android:key="default_font_size"
- android:title="@string/default_font_size"
- android:entries="@array/default_font_size_entries"
- android:entryValues="@array/default_font_size_entry_values"
- android:defaultValue="100" />
+ <!-- `android:inputType="number"` currently doesn't work with AndroidX. -->
+ <EditTextPreference
+ android:key="@string/font_size_key"
+ android:title="@string/font_size_preference"
+ android:defaultValue="@string/font_size_default_value"
+ android:inputType="number"
+ android:icon="@drawable/font_size" />
+
+ <SwitchPreference
+ android:key="@string/open_intents_in_new_tab_key"
+ android:title="@string/open_intents_in_new_tab"
+ android:summary="@string/open_intents_in_new_tab_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/swipe_to_refresh_key"
+ android:title="@string/swipe_to_refresh"
+ android:summary="@string/swipe_to_refresh_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/download_with_external_app_key"
+ android:title="@string/download_with_external_app"
+ android:summary="@string/download_with_external_app_summary"
+ android:defaultValue="false" />
+
+ <SwitchPreference
+ android:key="@string/scroll_app_bar_key"
+ android:title="@string/scroll_app_bar"
+ android:summary="@string/scroll_app_bar_summary"
+ android:defaultValue="true" />