aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-07-11 08:32:27 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-07-11 08:32:27 +0000
commitd8669c94e88345e1ed55468ba60aa5570bb1b745 (patch)
tree49556a508720a46c86324660e9c6d66769596b39 /app/src/main/res
parent36d24523b68e4ebecab02e7afff044b1625b80c9 (diff)
downloadinfinity-for-reddit-d8669c94e88345e1ed55468ba60aa5570bb1b745.tar
infinity-for-reddit-d8669c94e88345e1ed55468ba60aa5570bb1b745.tar.gz
infinity-for-reddit-d8669c94e88345e1ed55468ba60aa5570bb1b745.tar.bz2
infinity-for-reddit-d8669c94e88345e1ed55468ba60aa5570bb1b745.tar.lz
infinity-for-reddit-d8669c94e88345e1ed55468ba60aa5570bb1b745.tar.xz
infinity-for-reddit-d8669c94e88345e1ed55468ba60aa5570bb1b745.tar.zst
infinity-for-reddit-d8669c94e88345e1ed55468ba60aa5570bb1b745.zip
Submitting posts to subreddit is available now. Fixed User's posts cannot be all loaded.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_post_text.xml1
-rw-r--r--app/src/main/res/menu/post_text_activity.xml10
-rw-r--r--app/src/main/res/values/strings.xml3
3 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_post_text.xml b/app/src/main/res/layout/activity_post_text.xml
index 9bc76c10..2b16fc33 100644
--- a/app/src/main/res/layout/activity_post_text.xml
+++ b/app/src/main/res/layout/activity_post_text.xml
@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:id="@+id/coordinator_layout_post_detail_activity"
tools:context=".PostTextActivity">
<androidx.core.widget.NestedScrollView
diff --git a/app/src/main/res/menu/post_text_activity.xml b/app/src/main/res/menu/post_text_activity.xml
new file mode 100644
index 00000000..94650918
--- /dev/null
+++ b/app/src/main/res/menu/post_text_activity.xml
@@ -0,0 +1,10 @@
+<?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_send_post_text_activity"
+ android:orderInCategory="1"
+ android:title="@string/action_send"
+ android:icon="@drawable/ic_send_white_24dp"
+ app:showAsAction="ifRoom" />
+</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 effd81dc..298f02f2 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -80,6 +80,9 @@
<string name="send_comment_failed">Could not send this comment</string>
<string name="parse_sent_comment_failed">The comment is sent but unable to get the sent comment</string>
+ <string name="posting">Posting</string>
+ <string name="post_failed">Could not post it</string>
+
<string name="download_completed">Download completed</string>
<string name="download_failed">Download Failed</string>