title: How to change Preference icon color globally Android
body: <p>I have set flat icon for all my Preference, I would like to change the color of that icon globally. </p>
  
  <p>When I try the below code it even changes the back button color in the toolbar. </p>
  
  <p>I want only Preference icon tint to be changed globally. Thank in advance.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;SwitchPreference
          android:id="@+id/pref_toggle_alarm"
          android:icon="@drawable/ic_pref_notifications"
          android:key="key_toggle_alarm"
          android:summaryOff="Alarm OFF"
          android:summaryOn="Alarm ON"
          android:title="Alarm" /&gt;
  
  
      &lt;web.prefs.TimePrefs
          android:id="@+id/pref_select_time"
          android:icon="@drawable/ic_pref_time"
          android:key="key_time"
          android:summary="Set some time"
          android:title="Select Time" /&gt;
  
      &lt;MultiSelectListPreference
          android:id="@+id/pref_select_week"
          android:defaultValue="@array/week_array_values"
          android:entries="@array/array_week_selection"
          android:entryValues="@array/week_array_values"
          android:icon="@drawable/ic_pref_time"
          android:key="key_week"
          android:title="Select Days" /&gt;
  
      &lt;ListPreference
          android:id="@+id/pref_track"
          android:defaultValue="0"
          android:entries="@array/tracks_arrays"
          android:entryValues="@array/tracks_arrays_values"
          android:icon="@drawable/ic_music_note"
          android:key="key_track"
          android:summary="%s"
          android:title="Select Track" /&gt;
  
  &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>style.xml</p>
  
  <pre><code>&lt;style name="PreferencesTheme" parent="@style/AppTheme.NoActionBar"&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/primary_text&lt;/item&gt;
      &lt;item name="android:textColorSecondary"&gt;@color/secondary_text&lt;/item&gt;
      &lt;item name="android:colorAccent"&gt;@color/accent&lt;/item&gt;
      &lt;item name="android:tint"&gt;@color/accent&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>