Change quote button appearance

This commit is contained in:
M66B 2019-05-03 08:28:32 +02:00
parent cc8d2a102a
commit 7b32b3a5d1
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ import android.content.pm.PackageManager;
import android.content.res.ColorStateList; import android.content.res.ColorStateList;
import android.database.Cursor; import android.database.Cursor;
import android.graphics.Color; import android.graphics.Color;
import android.graphics.PorterDuff;
import android.graphics.Rect; import android.graphics.Rect;
import android.graphics.Typeface; import android.graphics.Typeface;
import android.graphics.drawable.Drawable; import android.graphics.drawable.Drawable;
@ -1759,7 +1760,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override @Override
public Drawable getDrawable() { public Drawable getDrawable() {
Drawable d = context.getDrawable(R.drawable.baseline_format_quote_24); Drawable d = context.getDrawable(R.drawable.baseline_format_quote_24);
d.setTint(colorAccent); d.setColorFilter(colorPrimary, PorterDuff.Mode.DST_OVER);
d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight()); d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight());
return d; return d;
} }