mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 00:21:10 +00:00
Blocked sender icon
This commit is contained in:
parent
91a7b2a889
commit
5eb9296ca7
3 changed files with 17 additions and 2 deletions
|
@ -130,7 +130,7 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
|
|||
ivType.setImageResource(R.drawable.twotone_report_24);
|
||||
ivType.setContentDescription(context.getString(R.string.title_legend_junk));
|
||||
} else if (contact.type == EntityContact.TYPE_NO_JUNK) {
|
||||
ivType.setImageResource(R.drawable.twotone_report_off_24);
|
||||
ivType.setImageResource(R.drawable.twotone_person_off_24);
|
||||
ivType.setContentDescription(context.getString(R.string.title_no_junk));
|
||||
} else {
|
||||
ivType.setImageDrawable(null);
|
||||
|
|
15
app/src/main/res/drawable/twotone_person_off_24.xml
Normal file
15
app/src/main/res/drawable/twotone_person_off_24.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M15.17,18l-3,-3c-0.06,0 -0.11,0 -0.17,0c-2.37,0 -4.29,0.73 -5.48,1.34C6.2,16.5 6,16.84 6,17.22V18H15.17zM10.13,7.3C10.41,6.54 11.14,6 12,6c1.1,0 2,0.9 2,2c0,0.86 -0.54,1.59 -1.3,1.87"
|
||||
android:strokeAlpha="0.3"
|
||||
android:fillAlpha="0.3"/>
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M20,17.17l-3.37,-3.38c0.64,0.22 1.23,0.48 1.77,0.76C19.37,15.06 19.98,16.07 20,17.17zM21.19,21.19l-1.41,1.41L17.17,20H4v-2.78c0,-1.12 0.61,-2.15 1.61,-2.66c1.29,-0.66 2.87,-1.22 4.67,-1.45L1.39,4.22l1.41,-1.41L21.19,21.19zM15.17,18l-3,-3c-0.06,0 -0.11,0 -0.17,0c-2.37,0 -4.29,0.73 -5.48,1.34C6.2,16.5 6,16.84 6,17.22V18H15.17zM12,6c1.1,0 2,0.9 2,2c0,0.86 -0.54,1.59 -1.3,1.87l1.48,1.48C15.28,10.64 16,9.4 16,8c0,-2.21 -1.79,-4 -4,-4c-1.4,0 -2.64,0.72 -3.35,1.82l1.48,1.48C10.41,6.54 11.14,6 12,6z"/>
|
||||
</vector>
|
|
@ -231,7 +231,7 @@
|
|||
app:layout_constraintBottom_toBottomOf="@id/btnClear"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/btnClear"
|
||||
app:srcCompat="@drawable/twotone_settings_24" />
|
||||
app:srcCompat="@drawable/twotone_person_off_24" />
|
||||
|
||||
<eu.faircode.email.FixedTextView
|
||||
android:id="@+id/tvClearHint"
|
||||
|
|
Loading…
Add table
Reference in a new issue