aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_multi_reddit_listing.xml1
-rw-r--r--app/src/main/res/layout/activity_view_multi_reddit_detail.xml3
-rw-r--r--app/src/main/res/menu/view_multi_reddit_detail_activity.xml37
-rw-r--r--app/src/main/res/values/strings.xml1
4 files changed, 40 insertions, 2 deletions
diff --git a/app/src/main/res/layout/activity_multi_reddit_listing.xml b/app/src/main/res/layout/activity_multi_reddit_listing.xml
index 73bf93ad..7a5deacb 100644
--- a/app/src/main/res/layout/activity_multi_reddit_listing.xml
+++ b/app/src/main/res/layout/activity_multi_reddit_listing.xml
@@ -58,6 +58,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:gravity="center"
+ android:text="@string/no_multi_reddits"
android:textSize="?attr/font_default" />
</LinearLayout>
diff --git a/app/src/main/res/layout/activity_view_multi_reddit_detail.xml b/app/src/main/res/layout/activity_view_multi_reddit_detail.xml
index a1dc4622..797efe48 100644
--- a/app/src/main/res/layout/activity_view_multi_reddit_detail.xml
+++ b/app/src/main/res/layout/activity_view_multi_reddit_detail.xml
@@ -19,6 +19,7 @@
android:id="@+id/collapsing_toolbar_layout_view_multi_reddit_detail_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="?attr/backgroundColor"
app:titleEnabled="false"
app:contentScrim="?attr/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed"
@@ -32,7 +33,6 @@
android:id="@+id/icon_gif_image_view_view_multi_reddit_detail_activity"
android:layout_width="72dp"
android:layout_height="72dp"
- android:layout_marginTop="-36dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:elevation="4dp" />
@@ -41,7 +41,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
- android:paddingTop="36dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:layout_below="@id/icon_gif_image_view_view_multi_reddit_detail_activity"
diff --git a/app/src/main/res/menu/view_multi_reddit_detail_activity.xml b/app/src/main/res/menu/view_multi_reddit_detail_activity.xml
new file mode 100644
index 00000000..0c88dc70
--- /dev/null
+++ b/app/src/main/res/menu/view_multi_reddit_detail_activity.xml
@@ -0,0 +1,37 @@
+<?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:application="ml.docilealligator.infinityforreddit.Activity.ViewMultiRedditDetailActivity">
+ <item
+ android:id="@+id/action_sort_view_multi_reddit_detail_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_sort"
+ android:icon="@drawable/ic_outline_sort_24px"
+ app:showAsAction="ifRoom" />
+
+ <item
+ android:id="@+id/action_search_view_multi_reddit_detail_activity"
+ android:orderInCategory="2"
+ android:title="@string/action_search"
+ android:icon="@drawable/ic_search_white_24dp"
+ app:showAsAction="ifRoom" />
+ <item
+ android:id="@+id/action_refresh_view_multi_reddit_detail_activity"
+ android:orderInCategory="3"
+ android:title="@string/action_refresh"
+ android:icon="@drawable/ic_refresh_white_24dp"
+ app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_lazy_mode_view_multi_reddit_detail_activity"
+ android:orderInCategory="4"
+ android:title="@string/action_start_lazy_mode"
+ app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_change_post_layout_view_multi_reddit_detail_activity"
+ android:orderInCategory="5"
+ android:title="@string/action_change_post_layout"
+ app:showAsAction="never" />
+</menu> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 2b279a05..23bd47be 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -60,6 +60,7 @@
<string name="no_comments">No comments found</string>
<string name="no_subreddits">No subreddits found</string>
<string name="no_users">No users found</string>
+ <string name="no_multi_reddits">No Multireddits found</string>
<string name="no_storage_permission">No storage permission to save this file</string>
<string name="load_comments_failed">Error loading comments.\nTap to retry.</string>