aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_post.xml2
-rw-r--r--app/src/main/res/menu/filtered_posts_activity.xml17
2 files changed, 18 insertions, 1 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml
index e3be0913..640f6c3f 100644
--- a/app/src/main/res/layout/item_post.xml
+++ b/app/src/main/res/layout/item_post.xml
@@ -102,7 +102,7 @@
android:layout_height="24dp"
android:layout_toEndOf="@id/type_text_view_item_post"
android:layout_centerVertical="true"
- android:visibility="gone"/>
+ android:visibility="gone" />
<TextView
android:id="@+id/gilded_number_text_view_item_post"
diff --git a/app/src/main/res/menu/filtered_posts_activity.xml b/app/src/main/res/menu/filtered_posts_activity.xml
new file mode 100644
index 00000000..ca53ec6c
--- /dev/null
+++ b/app/src/main/res/menu/filtered_posts_activity.xml
@@ -0,0 +1,17 @@
+<?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">
+ <item
+ android:id="@+id/action_sort_filtered_posts_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_sort"
+ android:icon="@drawable/ic_outline_sort_24px"
+ app:showAsAction="ifRoom" />
+
+ <item
+ android:id="@+id/action_refresh_filtered_posts_activity"
+ android:orderInCategory="2"
+ android:title="@string/action_refresh"
+ android:icon="@drawable/ic_search_white_24dp"
+ app:showAsAction="never" />
+</menu> \ No newline at end of file