Create a dark theme for `SettingsActivity`.
[PrivacyBrowser.git] / app / src / main / res / xml / preferences.xml
index d7e096b1b890788e84aa1ceba2c9909203229bed..2b0c713d64ecfd4a46dd6b5c9bb1f3432f6748bc 100644 (file)
@@ -59,7 +59,7 @@
             android:entries="@array/user_agent_entries"
             android:entryValues="@array/user_agent_entry_values"
             android:defaultValue="PrivacyBrowser/1.0"
-            android:icon="@drawable/user_agent" />
+            android:icon="?attr/userAgentIcon" />
 
         <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
         <EditTextPreference
             android:entries="@array/search_entries"
             android:entryValues="@array/search_entry_values"
             android:defaultValue="https://duckduckgo.com/html/?q="
-            android:icon="@drawable/search_enabled" />
+            android:icon="?attr/searchIcon" />
 
         <EditTextPreference
             android:key="search_custom_url"
             android:title="@string/homepage"
             android:defaultValue="https://start.duckduckgo.com"
             android:inputType="textUri"
-            android:icon="@drawable/home_enabled" />
+            android:icon="?attr/homepageIcon" />
 
         <ListPreference
             android:key="default_font_size"
             android:entries="@array/default_font_size_entries"
             android:entryValues="@array/default_font_size_entry_values"
             android:defaultValue="100"
-            android:icon="@drawable/font_size" />
+            android:icon="?attr/fontSizeIcon" />
 
         <SwitchPreference
             android:key="swipe_to_refresh"