Update no results found icon.

This commit is contained in:
Onuray Sahin 2020-09-24 12:21:31 +03:00 committed by Benoit Marty
parent 0df3a8ad98
commit 70be853acd
2 changed files with 21 additions and 1 deletions

View file

@ -116,7 +116,7 @@ class SearchFragment @Inject constructor(
} else { } else {
stateView.state = StateView.State.Empty( stateView.state = StateView.State.Empty(
title = stringProvider.getString(R.string.search_no_results), title = stringProvider.getString(R.string.search_no_results),
image = ContextCompat.getDrawable(requireContext(), R.drawable.ic_search) image = ContextCompat.getDrawable(requireContext(), R.drawable.ic_search_no_results)
) )
} }
} }

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape
android:innerRadius="0dp"
android:shape="ring"
android:thicknessRatio="2"
android:useLevel="false">
<solid android:color="@android:color/transparent" />
<stroke android:width="2dp" />
</shape>
</item>
<item
android:bottom="14dp"
android:drawable="@drawable/ic_search"
android:left="14dp"
android:right="14dp"
android:top="14dp" />
</layer-list>