aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu/search_activity.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-07-18 15:59:14 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-07-18 15:59:14 +0000
commit216228cf0275d84d1895114fd92cb83a70318c81 (patch)
tree090554108ce267b9d531c465ba4b6445f5e1ec66 /app/src/main/res/menu/search_activity.xml
parent611d6a90ec39707b4d4161da1eb5b19249e670c4 (diff)
downloadinfinity-for-reddit-216228cf0275d84d1895114fd92cb83a70318c81.tar
infinity-for-reddit-216228cf0275d84d1895114fd92cb83a70318c81.tar.gz
infinity-for-reddit-216228cf0275d84d1895114fd92cb83a70318c81.tar.bz2
infinity-for-reddit-216228cf0275d84d1895114fd92cb83a70318c81.tar.lz
infinity-for-reddit-216228cf0275d84d1895114fd92cb83a70318c81.tar.xz
infinity-for-reddit-216228cf0275d84d1895114fd92cb83a70318c81.tar.zst
infinity-for-reddit-216228cf0275d84d1895114fd92cb83a70318c81.zip
Add a search button in ViewSubredditDetailActivity and ViewUserDetailActivity. Search posts in a specific subreddit is available. Rename SearchActivity to SearchResultActivity. Add SearchActivity for searching instead of searching in MainActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/menu/search_activity.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/menu/search_activity.xml b/app/src/main/res/menu/search_activity.xml
new file mode 100644
index 00000000..c4820b38
--- /dev/null
+++ b/app/src/main/res/menu/search_activity.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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.SearchResultActivity">
+ <item
+ android:id="@+id/action_search_search_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_search"
+ android:icon="@drawable/ic_search_white_24dp"
+ app:showAsAction="ifRoom" />
+</menu>