Update no results found icon.
This commit is contained in:
parent
0df3a8ad98
commit
70be853acd
|
@ -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)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue