diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-01 05:38:25 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-01 05:38:25 +0000 |
commit | 707316c7ad674aab128b711b6ca94b68cf129a60 (patch) | |
tree | b5f0bcd688412a45f7e824762cc7519271b0f850 /app/src/main/res | |
parent | a00f7ced6c3d29ee0fd0cd5e7fcb5211e356c8c1 (diff) | |
download | infinity-for-reddit-707316c7ad674aab128b711b6ca94b68cf129a60.tar infinity-for-reddit-707316c7ad674aab128b711b6ca94b68cf129a60.tar.gz infinity-for-reddit-707316c7ad674aab128b711b6ca94b68cf129a60.tar.bz2 infinity-for-reddit-707316c7ad674aab128b711b6ca94b68cf129a60.tar.lz infinity-for-reddit-707316c7ad674aab128b711b6ca94b68cf129a60.tar.xz infinity-for-reddit-707316c7ad674aab128b711b6ca94b68cf129a60.tar.zst infinity-for-reddit-707316c7ad674aab128b711b6ca94b68cf129a60.zip |
Replying to messages is now available. Remove CollapsingToolbarLayout in ViewPrivateMessagesActivity. Scroll to bottom when entering ViewPrivateMessagesActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_view_private_messages.xml | 22 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 |
2 files changed, 9 insertions, 16 deletions
diff --git a/app/src/main/res/layout/activity_view_private_messages.xml b/app/src/main/res/layout/activity_view_private_messages.xml index b808ede7..728d5df1 100644 --- a/app/src/main/res/layout/activity_view_private_messages.xml +++ b/app/src/main/res/layout/activity_view_private_messages.xml @@ -20,23 +20,13 @@ android:layout_height="wrap_content" android:theme="@style/AppTheme.AppBarOverlay"> - <com.google.android.material.appbar.CollapsingToolbarLayout - android:id="@+id/collapsing_toolbar_layout_view_private_messages_activity" + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar_view_private_messages_activity" android:layout_width="match_parent" - android:layout_height="match_parent" - app:layout_scrollFlags="scroll|enterAlways" - app:titleEnabled="false" - app:toolbarId="@+id/toolbar_view_private_messages_activity"> - - <androidx.appcompat.widget.Toolbar - android:id="@+id/toolbar_view_private_messages_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.CollapsingToolbarLayout> + android:layout_height="wrap_content" + android:minHeight="?attr/actionBarSize" + app:popupTheme="@style/AppTheme.PopupOverlay" + app:navigationIcon="?attr/homeAsUpIndicator" /> </com.google.android.material.appbar.AppBarLayout> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 020528fd..5d78d9d8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -152,6 +152,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="reply_message_failed">Could not reply to this message</string> + <string name="error_getting_message">Error getting this message</string> + <string name="select_a_subreddit">Please select a subreddit first</string> <string name="title_required">The post need a good title</string> <string name="link_required">Hey where is the link?</string> |