summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-07-24 14:37:34 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-07-24 14:37:34 +0200
commit8243d0dde6997751def222c8263a93a2ba990cce (patch)
tree1433bc11ff8fb68b5faee3f5f4966a573dcc06df /res
parentdc02bff7c60a15f5ca75a43ac40708ddc2ed6c05 (diff)
downloadAntennaPod-8243d0dde6997751def222c8263a93a2ba990cce.zip
implemented search button
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/action_search.pngbin0 -> 1759 bytes
-rw-r--r--res/drawable-mdpi/action_search.pngbin0 -> 1429 bytes
-rw-r--r--res/drawable-xhdpi/action_search.pngbin0 -> 2117 bytes
-rw-r--r--res/layout/searchlist.xml20
-rw-r--r--res/menu/podfetcher.xml1
-rw-r--r--res/values/ids.xml1
-rw-r--r--res/values/strings.xml5
7 files changed, 27 insertions, 0 deletions
diff --git a/res/drawable-hdpi/action_search.png b/res/drawable-hdpi/action_search.png
new file mode 100644
index 000000000..e6b704518
--- /dev/null
+++ b/res/drawable-hdpi/action_search.png
Binary files differ
diff --git a/res/drawable-mdpi/action_search.png b/res/drawable-mdpi/action_search.png
new file mode 100644
index 000000000..3aa644048
--- /dev/null
+++ b/res/drawable-mdpi/action_search.png
Binary files differ
diff --git a/res/drawable-xhdpi/action_search.png b/res/drawable-xhdpi/action_search.png
new file mode 100644
index 000000000..804420aee
--- /dev/null
+++ b/res/drawable-xhdpi/action_search.png
Binary files differ
diff --git a/res/layout/searchlist.xml b/res/layout/searchlist.xml
new file mode 100644
index 000000000..71d5e828d
--- /dev/null
+++ b/res/layout/searchlist.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <ListView
+ android:id="@id/android:list"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+
+ <TextView
+ android:id="@id/android:empty"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center"
+ android:gravity="center" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/menu/podfetcher.xml b/res/menu/podfetcher.xml
index 9eccb775b..acb2e6f97 100644
--- a/res/menu/podfetcher.xml
+++ b/res/menu/podfetcher.xml
@@ -21,4 +21,5 @@
<item android:id="@+id/show_preferences" android:title="@string/settings_label" android:icon="@drawable/action_settings" android:showAsAction="collapseActionView"></item>
<item android:id="@+id/show_player" android:title="@string/show_player_label" android:icon="@drawable/av_play" android:showAsAction="collapseActionView"></item>
<item android:id="@+id/opml_import" android:title="@string/opml_import_label" android:showAsAction="collapseActionView"></item>
+ <item android:id="@id/search_item" android:icon="@drawable/action_search" android:title="@string/search_label" android:showAsAction="collapseActionView"></item>
</menu>
diff --git a/res/values/ids.xml b/res/values/ids.xml
index f7cd4e62e..f3eae7671 100644
--- a/res/values/ids.xml
+++ b/res/values/ids.xml
@@ -7,5 +7,6 @@
<item type="id" name="clear_queue_item"/>
<item type="id" name="select_all_item"/>
<item type="id" name="deselect_all_item"/>
+ <item type="id" name="search_item"/>
</resources> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2a00375d0..839ab0c9e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -140,6 +140,11 @@
<string name="found_in_label">Found in:\u0020</string>
<string name="found_in_shownotes_label">Found in shownotes</string>
<string name="found_in_chapters_label">Found in chapters</string>
+ <string name="search_status_searching">Searching...</string>
+ <string name="search_status_no_results">No results were found</string>
+ <string name="search_results_label">Search results</string>
+ <string name="search_term_label">You searched:\u0020</string>
+ <string name="search_label">Search</string>
</resources> \ No newline at end of file