diff --git a/app/src/main/java/net/bible/android/view/activity/search/SearchResults.kt b/app/src/main/java/net/bible/android/view/activity/search/SearchResults.kt index 902794a4e5..7fc74b1107 100644 --- a/app/src/main/java/net/bible/android/view/activity/search/SearchResults.kt +++ b/app/src/main/java/net/bible/android/view/activity/search/SearchResults.kt @@ -129,6 +129,11 @@ class SearchResults : ListActivityBase(R.menu.empty_menu) { getString(R.string.search_result_count, mSearchResultsHolder!!.size()) } withContext(Dispatchers.Main) { + var resultAmount = mSearchResultsHolder?.size().toString() + if(mSearchResultsHolder?.size()?:0 > SearchControl.MAX_SEARCH_RESULTS) { + resultAmount += "+" + } + supportActionBar?.title = getString(R.string.search_with_results, resultAmount) Toast.makeText(this@SearchResults, msg, Toast.LENGTH_SHORT).show() } isOk = true diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index dbbd158fa2..b0dbf67418 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -17,6 +17,7 @@ Document Passage Find + Find (%s results) Application preferences History Speak