[Android] Search fragment: display a proper title for search history
Adrien Maglo
git at videolan.org
Sat Feb 1 18:05:29 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Sat Feb 1 18:05:02 2014 +0100| [305e054a2ff200e4f7c233427b72337107566696] | committer: Adrien Maglo
Search fragment: display a proper title for search history
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=305e054a2ff200e4f7c233427b72337107566696
---
vlc-android/res/values/strings.xml | 1 +
vlc-android/src/org/videolan/vlc/gui/SearchFragment.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index dfbee3a..65c3d9b 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -156,6 +156,7 @@
<string name="invalid_location">The location %1$s cannot be played</string>
<string name="search">Search</string>
+ <string name="search_history">Search history</string>
<!-- About -->
<string name="app_name_full">VLC for Android™</string>
diff --git a/vlc-android/src/org/videolan/vlc/gui/SearchFragment.java b/vlc-android/src/org/videolan/vlc/gui/SearchFragment.java
index 5bcb88c..f31d4e4 100644
--- a/vlc-android/src/org/videolan/vlc/gui/SearchFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/SearchFragment.java
@@ -137,7 +137,7 @@ public class SearchFragment extends ListFragment {
private void showSearchHistory() {
// Add header to the history
- String headerText = getString(R.string.history);
+ String headerText = getString(R.string.search_history);
showListHeader(headerText);
MediaDatabase db = MediaDatabase.getInstance(getActivity());
More information about the Android
mailing list