Replace search PNGs with a vector drawable.

This commit is contained in:
Isira Seneviratne 2020-09-25 19:13:18 +05:30
parent 1924f38bc6
commit a92eb3c899
9 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<item
android:id="@+id/action_search"
android:icon="@drawable/ic_search_white"
android:icon="@drawable/ic_search"
android:title="@string/menu_search"
android:titleCondensed="@string/menu_search"/>

View File

@ -2,7 +2,7 @@
<item
android:id="@+id/action_search"
android:icon="@drawable/ic_search_white"
android:icon="@drawable/ic_search"
android:title="@string/menu_search"
android:titleCondensed="@string/menu_search"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 851 B

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FFFFFF" android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z"/>
</vector>

View File

@ -2,7 +2,7 @@
<com.google.android.material.floatingactionbutton.FloatingActionButton
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fab_search"
android:src="@drawable/ic_search_white"
android:src="@drawable/ic_search"
android:contentDescription="@string/menu_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"