feat: added notification mentions vector image

This commit is contained in:
Harris 2021-07-21 15:25:48 +10:00
parent ff853e01b4
commit 7ef9fb2b28
2 changed files with 16 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class ConversationView : LinearLayout {
val drawableRes = if (recipient.isMuted || recipient.notifyType == RecipientDatabase.NOTIFY_TYPE_NONE) {
R.drawable.ic_outline_notifications_off_24
} else {
R.drawable.ic_outline_notification_important_24
R.drawable.ic_notifications_mentions
}
muteIndicatorImageView.setImageResource(drawableRes)
val rawSnippet = thread.getDisplayBody(context)

View File

@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="4.622348dp"
android:height="5.15937dp"
android:viewportWidth="4.622348"
android:viewportHeight="5.15937"
android:tint="?attr/colorControlNormal">
<path
android:pathData="m2.11667,0.00001c-0.2196,0 -0.39687,0.17727 -0.39687,0.39687v0.18035c-0.75671,0.17992 -1.19062,0.85682 -1.19062,1.67174v1.32291l-0.52917,0.52917v0.26458h4.23333v-0.26458l-0.52917,-0.52917v-0.22427h-0.28939c-0.06727,0 -0.13303,-0.006 -0.19792,-0.015v0.21601,0.32969l-2.15852,-0.0418v-1.5875c0,-0.65617 0.39952,-1.19063 1.05833,-1.19063 0.02183,0 0.04274,0.002 0.06408,0.004 0.11927,-0.18142 0.27784,-0.33414 0.46302,-0.44803 -0.04232,-0.0139 -0.08562,-0.0261 -0.13023,-0.0367v-0.18035c0,-0.2196 -0.17727,-0.39687 -0.39687,-0.39687zM1.5875,4.63021c0,0.29104 0.23812,0.52916 0.52917,0.52916 0.29104,0 0.52917,-0.23812 0.52917,-0.52916z"
android:strokeWidth="0.26458332"
android:fillColor="#000000"/>
<path
android:pathData="m3.35531,0.57755c-0.6994,0 -1.26703,0.56762 -1.26703,1.26702 0,0.6994 0.56763,1.26703 1.26703,1.26703h0.63351v-0.2534h-0.63351c-0.54989,0 -1.01362,-0.46374 -1.01362,-1.01363 0,-0.54989 0.46373,-1.01362 1.01362,-1.01362 0.54989,0 1.01362,0.46373 1.01362,1.01362v0.18119c0,0.10009 -0.08996,0.19892 -0.19005,0.19892 -0.1001,0 -0.19005,-0.0988 -0.19005,-0.19892v-0.18119c0,-0.3497 -0.28381,-0.63351 -0.63351,-0.63351 -0.3497,0 -0.63351,0.28381 -0.63351,0.63351 0,0.3497 0.28381,0.63352 0.63351,0.63352 0.17485,0 0.3345,-0.071 0.44853,-0.18625 0.08236,0.11276 0.22426,0.18625 0.37504,0.18625 0.2496,0 0.44346,-0.20273 0.44346,-0.45233v-0.18119c0,-0.6994 -0.56763,-1.26702 -1.26703,-1.26702zM3.35531,2.22468c-0.21033,0 -0.38011,-0.16978 -0.38011,-0.38011 0,-0.21032 0.16978,-0.3801 0.38011,-0.3801 0.21033,0 0.38011,0.16978 0.38011,0.3801 0,0.21033 -0.16978,0.38011 -0.38011,0.38011z"
android:strokeWidth="0.12670289"
android:fillColor="#000000"/>
</vector>