From c181507fd4ebd8a91d09cde2a390bbfb5cc2879a Mon Sep 17 00:00:00 2001 From: Thodoris1999 Date: Wed, 17 Oct 2018 17:40:12 +0300 Subject: [PATCH] enable shoutbox icon tinting --- app/src/main/java/gr/thmmy/mthmmy/base/BaseActivity.java | 3 ++- app/src/main/res/drawable/ic_announcement.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/gr/thmmy/mthmmy/base/BaseActivity.java b/app/src/main/java/gr/thmmy/mthmmy/base/BaseActivity.java index 85b12555..39713ffc 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/base/BaseActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/base/BaseActivity.java @@ -268,7 +268,8 @@ public abstract class BaseActivity extends AppCompatActivity { .withName(R.string.shoutbox) .withIcon(R.drawable.ic_announcement) .withIconColor(primaryColor) - .withSelectedIconColor(selectedSecondaryColor); + .withSelectedIconColor(selectedSecondaryColor) + .withIconTintingEnabled(true); if (sessionManager.isLoggedIn()) //When logged in { diff --git a/app/src/main/res/drawable/ic_announcement.xml b/app/src/main/res/drawable/ic_announcement.xml index 8a402416..c7878be2 100644 --- a/app/src/main/res/drawable/ic_announcement.xml +++ b/app/src/main/res/drawable/ic_announcement.xml @@ -3,5 +3,5 @@ android:tint="#FFFFFF"> + android:strokeColor="#000000" android:strokeWidth="1"/>