Add tint to preference icons

Closes #6540
// FREEBIE
This commit is contained in:
Mateo Hernandez
2017-04-17 14:23:17 -05:00
committed by Moxie Marlinspike
parent a697fcea04
commit a353ebd834
46 changed files with 80 additions and 31 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 584 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1013 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 B

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_advanced_white_24dp"
android:tint="?attr/pref_icon_tint"/>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_brightness_6_white_24dp"
android:tint="?attr/pref_icon_tint"/>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_forum_white_24dp"
android:tint="?attr/pref_icon_tint"/>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_laptop_white_24dp"
android:tint="?attr/pref_icon_tint"/>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_notifications_white_24dp"
android:tint="?attr/pref_icon_tint"/>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_security_white_24dp"
android:tint="?attr/pref_icon_tint"/>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_textsms_white_24dp"
android:tint="?attr/pref_icon_tint"/>

View File

@@ -116,14 +116,7 @@
<attr name="menu_forward_icon" format="reference" />
<attr name="menu_save_icon" format="reference" />
<attr name="pref_ic_sms_mms" format="reference" />
<attr name="pref_ic_notifications" format="reference" />
<attr name="pref_ic_app_protection" format="reference" />
<attr name="pref_ic_appearance" format="reference" />
<attr name="pref_ic_storage" format="reference" />
<attr name="pref_ic_chats" format="reference" />
<attr name="pref_ic_devices" format="reference" />
<attr name="pref_ic_advanced" format="reference" />
<attr name="pref_icon_tint" format="color"/>
<attr name="pref_divider" format="reference" />

View File

@@ -208,13 +208,7 @@
<item name="reminder_header_background">#ff1d85d7</item>
<item name="pref_ic_sms_mms">@drawable/ic_textsms_black_24dp</item>
<item name="pref_ic_notifications">@drawable/ic_notifications_black_24dp</item>
<item name="pref_ic_app_protection">@drawable/ic_security_black_24dp</item>
<item name="pref_ic_appearance">@drawable/ic_brightness_6_black_24dp</item>
<item name="pref_ic_chats">@drawable/ic_forum_black_24dp</item>
<item name="pref_ic_devices">@drawable/ic_laptop_black_24dp</item>
<item name="pref_ic_advanced">@drawable/ic_advanced_black_24dp</item>
<item name="pref_icon_tint">@color/textsecure_primary_dark</item>
<item name="pref_divider">@drawable/preference_divider_light</item>
@@ -340,13 +334,7 @@
<item name="reminder_header_background">@color/textsecure_primary_dark</item>
<item name="pref_ic_sms_mms">@drawable/ic_textsms_white_24dp</item>
<item name="pref_ic_notifications">@drawable/ic_notifications_white_24dp</item>
<item name="pref_ic_app_protection">@drawable/ic_security_white_24dp</item>
<item name="pref_ic_appearance">@drawable/ic_brightness_6_white_24dp</item>
<item name="pref_ic_chats">@drawable/ic_forum_white_24dp</item>
<item name="pref_ic_devices">@drawable/ic_laptop_white_24dp</item>
<item name="pref_ic_advanced">@drawable/ic_advanced_white_24dp</item>
<item name="pref_icon_tint">#FFFFFF</item>
<item name="pref_divider">@drawable/preference_divider_dark</item>

View File

@@ -3,30 +3,30 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:key="preference_category_sms_mms"
android:title="@string/preferences__sms_mms"
android:icon="?pref_ic_sms_mms"/>
android:icon="@drawable/ic_textsms_24dp"/>
<Preference android:key="preference_category_notifications"
android:title="@string/preferences__notifications"
android:icon="?pref_ic_notifications"/>
android:icon="@drawable/ic_notifications_24dp"/>
<Preference android:key="preference_category_app_protection"
android:title="@string/preferences__privacy"
android:icon="?pref_ic_app_protection"/>
android:icon="@drawable/ic_security_24dp"/>
<Preference android:key="preference_category_appearance"
android:title="@string/preferences__appearance"
android:icon="?pref_ic_appearance"/>
android:icon="@drawable/ic_brightness_6_24dp"/>
<Preference android:key="preference_category_chats"
android:title="@string/preferences__chats"
android:icon="?pref_ic_chats"/>
android:icon="@drawable/ic_forum_24dp"/>
<Preference android:key="preference_category_devices"
android:title="@string/preferences__linked_devices"
android:icon="?pref_ic_devices"/>
android:icon="@drawable/ic_laptop_24dp"/>
<Preference android:key="preference_category_advanced"
android:title="@string/preferences__advanced"
android:icon="?pref_ic_advanced"/>
android:icon="@drawable/ic_advanced_24dp"/>
</PreferenceScreen>