From 84eeb5a00203404a496ba6a028828645bc7f54ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 17 Nov 2018 18:21:25 +0100 Subject: [PATCH] red high-prio icons --- .../simplecloudnotifier/view/MessageAdapter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/MessageAdapter.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/MessageAdapter.java index e73bd54..b717fdd 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/MessageAdapter.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/MessageAdapter.java @@ -1,5 +1,6 @@ package com.blackforestbytes.simplecloudnotifier.view; +import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -140,13 +141,16 @@ public class MessageAdapter extends RecyclerView.Adapter case LOW: ivPriority.setVisibility(View.VISIBLE); ivPriority.setImageResource(R.drawable.priority_low); + ivPriority.setColorFilter(Color.rgb(176, 176, 176)); break; case NORMAL: ivPriority.setVisibility(View.GONE); + ivPriority.setColorFilter(Color.rgb(176, 176, 176)); break; case HIGH: ivPriority.setVisibility(View.VISIBLE); ivPriority.setImageResource(R.drawable.priority_high); + ivPriority.setColorFilter(Color.rgb(200, 0, 0)); break; }