dvdroid/res/values/strings.xml
Tom Willemsen b2a1b4aec0 Add search functionality
* AndroidManifest.xml: Register `DVDroidActivity' as searchable.

* res/drawable-hdpi/menu_search.png:
* res/drawable-mdpi/menu_search.png: New icons.

* res/menu/main_activity.xml: Add a search icon to the main activity's
  action menu.

* res/values/strings.xml: Add strings "search_hint" and "menu_search".

* res/xml/searchable.xml: New configuration file.

* src/ryuslash/org/dvdroid/DVDDataSource.java (getQuery): New
  function.

* src/ryuslash/org/dvdroid/DVDroidActivity.java (getData): New
  overload, calls `getQuery' to search for something instead of
  everything.
  (onCreate): If a search has been started, search, don't just show
  everything.
  (onCreateOptionsMenu): Instantiate the `SearchView' in order to use
  it.
2012-08-16 21:45:49 +02:00

13 lines
550 B
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DVDroid</string>
<string name="search_hint">Search DVDs</string>
<string name="menu_search">Search</string>
<string name="name_entry">Title...</string>
<string name="wishlist_entry">On wishlist</string>
<string name="watched_entry">Watched</string>
<string name="main_menu_add">Add</string>
<string name="add_menu_save">Save</string>
<string name="main_context_menu_edit">Edit</string>
<string name="main_context_menu_delete">Delete</string>
</resources>