Skip to content

Commit

Permalink
Fixed icon for 'mark read' action.| #793
Browse files Browse the repository at this point in the history
  • Loading branch information
DenBond7 committed Jan 9, 2020
1 parent 85aba76 commit b3421d9
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
15 changes: 15 additions & 0 deletions FlowCrypt/src/main/res/drawable/ic_mark_read_white_24dp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!--
~ © 2016-2019 FlowCrypt Limited. Limitations apply. Contact [email protected]
~ Contributors: DenBond7
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="#FFFFFF"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FF000000"
android:pathData="M19.9237,5.678 L12,2.1186 4,5.8305c-0.9978,0.463 -1.99,0.9 -1.99,2L2,19.8305c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V7.8305c0,-1.1 -1.0729,-1.7018 -2.0763,-2.1525zM20,9.8305 L12,14.8305 4,9.8305v-2l8,-3.7966 8,3.7966z" />
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!--
~ © 2016-2020 FlowCrypt Limited. Limitations apply. Contact [email protected]
~ Contributors: DenBond7
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:alpha="0.5"
android:tint="#FFFFFF"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FF000000"
android:pathData="M19.9237,5.678 L12,2.1186 4,5.8305c-0.9978,0.463 -1.99,0.9 -1.99,2L2,19.8305c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V7.8305c0,-1.1 -1.0729,-1.7018 -2.0763,-2.1525zM20,9.8305 L12,14.8305 4,9.8305v-2l8,-3.7966 8,3.7966z" />
</vector>
11 changes: 11 additions & 0 deletions FlowCrypt/src/main/res/drawable/selector_ic_mark_read_white.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ © 2016-2020 FlowCrypt Limited. Limitations apply. Contact [email protected]
~ Contributors: DenBond7
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Disabled state -->
<item android:drawable="@drawable/ic_mark_read_white_24dp_50_opacity" android:state_enabled="false" />
<!-- Default state -->
<item android:drawable="@drawable/ic_mark_read_white_24dp" />
</selector>
2 changes: 1 addition & 1 deletion FlowCrypt/src/main/res/menu/message_list_context_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<item
android:id="@+id/menuActionMarkRead"
android:icon="@drawable/selector_ic_move_to_inbox_white"
android:icon="@drawable/selector_ic_mark_read_white"
android:title="@string/mark_unread"
app:showAsAction="ifRoom" />
</menu>

0 comments on commit b3421d9

Please sign in to comment.