mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 11:26:01 +03:00
Update no results found icon.
This commit is contained in:
parent
0df3a8ad98
commit
70be853acd
2 changed files with 21 additions and 1 deletions
|
@ -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)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
20
vector/src/main/res/drawable/ic_search_no_results.xml
Normal file
20
vector/src/main/res/drawable/ic_search_no_results.xml
Normal 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>
|
Loading…
Reference in a new issue