aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-01-04 09:13:31 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-01-04 09:13:31 +0000
commita809cb59c27a01e2bbd155809780f187ae52d355 (patch)
tree08ee3f8a0b97245427e959343e5de8f86ae05f74 /app/src/main/res
parent9e062126d824795821ff76c22edbe39f9dbcf5f8 (diff)
downloadinfinity-for-reddit-a809cb59c27a01e2bbd155809780f187ae52d355.tar
infinity-for-reddit-a809cb59c27a01e2bbd155809780f187ae52d355.tar.gz
infinity-for-reddit-a809cb59c27a01e2bbd155809780f187ae52d355.tar.bz2
infinity-for-reddit-a809cb59c27a01e2bbd155809780f187ae52d355.tar.lz
infinity-for-reddit-a809cb59c27a01e2bbd155809780f187ae52d355.tar.xz
infinity-for-reddit-a809cb59c27a01e2bbd155809780f187ae52d355.tar.zst
infinity-for-reddit-a809cb59c27a01e2bbd155809780f187ae52d355.zip
SearchUsersResultActivity is added.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_search_users_result.xml32
-rw-r--r--app/src/main/res/values/strings.xml2
2 files changed, 33 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_search_users_result.xml b/app/src/main/res/layout/activity_search_users_result.xml
new file mode 100644
index 00000000..b594ccb5
--- /dev/null
+++ b/app/src/main/res/layout/activity_search_users_result.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/coordinator_layout_search_users_result_activity"
+ tools:application=".SearchUsersResultActivity">
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:id="@+id/appbar_layout_search_users_result_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:theme="@style/AppTheme.AppBarOverlay">
+
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar_search_users_result_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="?attr/actionBarSize"
+ app:popupTheme="@style/AppTheme.PopupOverlay"
+ app:navigationIcon="?attr/homeAsUpIndicator" />
+
+ </com.google.android.material.appbar.AppBarLayout>
+
+ <FrameLayout
+ android:id="@+id/frame_layout_search_users_result_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout> \ 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 a5aa5353..9658a65a 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -993,7 +993,7 @@
<string name="subreddit">Subreddit</string>
<string name="user">User</string>
<string name="edit_post_filter_name_of_usage_info">Leave it blank to apply this post filter to all the subreddits / users / multireddits</string>
-
+
<string name="read_all_messages_time_limit">You are doing this too frequently. Try again later. This is Reddit API\'s rate limit.</string>
<string name="read_all_messages_success">Read all messages successfully</string>
<string name="read_all_messages_failed">Unable to read all messages</string>