red high-prio icons
This commit is contained in:
parent
b892532023
commit
84eeb5a002
@ -1,5 +1,6 @@
|
|||||||
package com.blackforestbytes.simplecloudnotifier.view;
|
package com.blackforestbytes.simplecloudnotifier.view;
|
||||||
|
|
||||||
|
import android.graphics.Color;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
@ -140,13 +141,16 @@ public class MessageAdapter extends RecyclerView.Adapter
|
|||||||
case LOW:
|
case LOW:
|
||||||
ivPriority.setVisibility(View.VISIBLE);
|
ivPriority.setVisibility(View.VISIBLE);
|
||||||
ivPriority.setImageResource(R.drawable.priority_low);
|
ivPriority.setImageResource(R.drawable.priority_low);
|
||||||
|
ivPriority.setColorFilter(Color.rgb(176, 176, 176));
|
||||||
break;
|
break;
|
||||||
case NORMAL:
|
case NORMAL:
|
||||||
ivPriority.setVisibility(View.GONE);
|
ivPriority.setVisibility(View.GONE);
|
||||||
|
ivPriority.setColorFilter(Color.rgb(176, 176, 176));
|
||||||
break;
|
break;
|
||||||
case HIGH:
|
case HIGH:
|
||||||
ivPriority.setVisibility(View.VISIBLE);
|
ivPriority.setVisibility(View.VISIBLE);
|
||||||
ivPriority.setImageResource(R.drawable.priority_high);
|
ivPriority.setImageResource(R.drawable.priority_high);
|
||||||
|
ivPriority.setColorFilter(Color.rgb(200, 0, 0));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user