mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-14 16:10:39 +00:00
Changed icon
This commit is contained in:
parent
aa12764158
commit
4b09664a5a
5 changed files with 36 additions and 12 deletions
|
@ -126,7 +126,10 @@ public class ActivityCode extends ActivityBase {
|
|||
boolean debug = prefs.getBoolean("debug", false);
|
||||
|
||||
menu.findItem(R.id.menu_lines)
|
||||
.setChecked(lines);
|
||||
.setChecked(lines)
|
||||
.setIcon(lines
|
||||
? R.drawable.twotone_speaker_notes_off_24
|
||||
: R.drawable.twotone_speaker_notes_24);
|
||||
|
||||
menu.findItem(R.id.menu_sanitize)
|
||||
.setVisible(BuildConfig.DEBUG || debug)
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
<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="M7,15H5.5v-4.5H4V9h3V15zM13.5,13.5h-3v-1h2c0.55,0 1,-0.45 1,-1V10c0,-0.55 -0.45,-1 -1,-1H9v1.5h3v1h-2c-0.55,0 -1,0.45 -1,1V15h4.5V13.5zM19.5,14v-4c0,-0.55 -0.45,-1 -1,-1H15v1.5h3v1h-2v1h2v1h-3V15h3.5C19.05,15 19.5,14.55 19.5,14z"/>
|
||||
</vector>
|
16
app/src/main/res/drawable/twotone_speaker_notes_24.xml
Normal file
16
app/src/main/res/drawable/twotone_speaker_notes_24.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<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"
|
||||
android:autoMirrored="true">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M4,17.17l0.59,-0.59 0.58,-0.58L20,16L20,4L4,4v13.17zM10,6h8v2h-8L10,6zM10,9h8v2h-8L10,9zM10,12h5v2h-5v-2zM6,6h2v2L6,8L6,6zM6,9h2v2L6,11L6,9zM6,12h2v2L6,14v-2z"
|
||||
android:strokeAlpha="0.3"
|
||||
android:fillAlpha="0.3"/>
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M20,2L4,2c-1.1,0 -1.99,0.9 -1.99,2L2,22l4,-4h14c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM20,16L5.17,16l-0.59,0.59 -0.58,0.58L4,4h16v12zM6,12h2v2L6,14zM6,9h2v2L6,11zM6,6h2v2L6,8zM10,12h5v2h-5zM10,9h8v2h-8zM10,6h8v2h-8z"/>
|
||||
</vector>
|
15
app/src/main/res/drawable/twotone_speaker_notes_off_24.xml
Normal file
15
app/src/main/res/drawable/twotone_speaker_notes_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="M6,11L6,9L4,7v10.17L5.17,16L13,16l-5,-5L6,11zM8,14L6,14v-2h2v2zM20,4L6.66,4L10,7.34L10,6h8v2h-7.34l1,1L18,9v2h-4.34l5,5L20,16z"
|
||||
android:strokeAlpha="0.3"
|
||||
android:fillAlpha="0.3"/>
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M20,4v12h-1.34l1.91,1.91C21.39,17.66 22,16.9 22,16L22,4c0,-1.1 -0.9,-2 -2,-2L4.66,2l2,2L20,4zM6,12h2v2L6,14zM18,11L18,9h-6.34l2,2zM18,8L18,6h-8v1.34l0.66,0.66zM1.41,1.59L0,3l2,2.01L2,22l4,-4h9l5.73,5.73 1.41,-1.41L1.41,1.59zM5.17,16L4,17.17L4,7l2,2v2h2l5,5L5.17,16z"/>
|
||||
</vector>
|
|
@ -4,7 +4,7 @@
|
|||
<item
|
||||
android:id="@+id/menu_lines"
|
||||
android:checkable="true"
|
||||
android:icon="@drawable/twotone_123_24"
|
||||
android:icon="@drawable/twotone_speaker_notes_24"
|
||||
android:title="@string/title_legend_line_numbers"
|
||||
app:showAsAction="always" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue