Change quote button appearance

pull/156/head
M66B 6 years ago
parent cc8d2a102a
commit 7b32b3a5d1

@ -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;
} }

Loading…
Cancel
Save