aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/main_activity.xml9
-rw-r--r--app/src/main/res/menu/menu_search.xml10
2 files changed, 18 insertions, 1 deletions
diff --git a/app/src/main/res/menu/main_activity.xml b/app/src/main/res/menu/main_activity.xml
index 2be22f5f..2a4357aa 100644
--- a/app/src/main/res/menu/main_activity.xml
+++ b/app/src/main/res/menu/main_activity.xml
@@ -5,8 +5,15 @@
tools:context="ml.docilealligator.infinityforreddit.MainActivity">
<item
android:id="@+id/action_refresh_main_activity"
- android:orderInCategory="1"
+ android:orderInCategory="2"
android:title="@string/action_refresh"
android:icon="@drawable/ic_refresh_white_24dp"
app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_search_main_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_search"
+ android:icon="@drawable/ic_search_white_24dp"
+ app:showAsAction="always" />
</menu> \ No newline at end of file
diff --git a/app/src/main/res/menu/menu_search.xml b/app/src/main/res/menu/menu_search.xml
new file mode 100644
index 00000000..afd34627
--- /dev/null
+++ b/app/src/main/res/menu/menu_search.xml
@@ -0,0 +1,10 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:context="ml.docilealligator.infinityforreddit.SearchActivity">
+ <item
+ android:id="@+id/action_search_search_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_search"
+ app:showAsAction="always" />
+</menu>