]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/xml/preferences.xml
Allow specifying any font size. https://redmine.stoutner.com/issues/504
[PrivacyBrowserAndroid.git] / app / src / main / res / xml / preferences.xml
index 4c266c273d7f67f350299df1cfb01976d18682f8..500fcb86658e2e43c55fa1623beee1c848d1b651 100644 (file)
             android:entryValues="@array/tor_search_entry_values"
             android:defaultValue="@string/tor_search_default_value" />
 
+        <!-- `android:inputType` currently doesn't work with AndroidX. -->
         <EditTextPreference
             android:key="tor_search_custom_url"
             android:title="@string/tor_search_custom_url"
             android:inputType="textUri"
             android:icon="?attr/homepageIcon" />
 
-        <ListPreference
+        <!-- `android:inputType="number"` currently doesn't work with AndroidX. -->
+        <EditTextPreference
             android:key="font_size"
             android:title="@string/font_size_preference"
-            android:entries="@array/font_size_entries"
-            android:entryValues="@array/font_size_entry_values"
             android:defaultValue="@string/font_size_default_value"
+            android:inputType="number"
             android:icon="?attr/fontSizeIcon" />
 
         <SwitchPreference