aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-12-08 16:29:22 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-12-08 16:29:22 +0000
commitb38025882d7b03adb0a3acad136b90d4bafdcf0a (patch)
tree259c5a0fc76035bdb403c52e986974aa36d267da /app/src/main/res
parent7cf90856d6120e20a1c39848e0e4e2cbb40f1a67 (diff)
downloadinfinity-for-reddit-b38025882d7b03adb0a3acad136b90d4bafdcf0a.tar
infinity-for-reddit-b38025882d7b03adb0a3acad136b90d4bafdcf0a.tar.gz
infinity-for-reddit-b38025882d7b03adb0a3acad136b90d4bafdcf0a.tar.bz2
infinity-for-reddit-b38025882d7b03adb0a3acad136b90d4bafdcf0a.tar.lz
infinity-for-reddit-b38025882d7b03adb0a3acad136b90d4bafdcf0a.tar.xz
infinity-for-reddit-b38025882d7b03adb0a3acad136b90d4bafdcf0a.tar.zst
infinity-for-reddit-b38025882d7b03adb0a3acad136b90d4bafdcf0a.zip
Add custom theme entries for read posts. Fix crash in ViewUserDetailActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/activity_view_subreddit_detail.xml2
-rw-r--r--app/src/main/res/layout/activity_view_user_detail.xml2
-rw-r--r--app/src/main/res/layout/app_bar_main.xml2
-rw-r--r--app/src/main/res/layout/bottom_app_bar.xml (renamed from app/src/main/res/layout/bottom_app_bar_other_activities.xml)0
-rw-r--r--app/src/main/res/values/strings.xml6
5 files changed, 9 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_view_subreddit_detail.xml b/app/src/main/res/layout/activity_view_subreddit_detail.xml
index ef26b762..fbaf0fab 100644
--- a/app/src/main/res/layout/activity_view_subreddit_detail.xml
+++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml
@@ -173,7 +173,7 @@
</com.google.android.material.appbar.AppBarLayout>
<include
- layout="@layout/bottom_app_bar_other_activities"
+ layout="@layout/bottom_app_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom" />
diff --git a/app/src/main/res/layout/activity_view_user_detail.xml b/app/src/main/res/layout/activity_view_user_detail.xml
index 3ace2e08..8cad86b9 100644
--- a/app/src/main/res/layout/activity_view_user_detail.xml
+++ b/app/src/main/res/layout/activity_view_user_detail.xml
@@ -140,7 +140,7 @@
</com.google.android.material.appbar.AppBarLayout>
<include
- layout="@layout/bottom_app_bar_other_activities"
+ layout="@layout/bottom_app_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom" />
diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml
index c17ef9f7..85db79c9 100644
--- a/app/src/main/res/layout/app_bar_main.xml
+++ b/app/src/main/res/layout/app_bar_main.xml
@@ -52,7 +52,7 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<include
- layout="@layout/bottom_app_bar_other_activities"
+ layout="@layout/bottom_app_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom" />
diff --git a/app/src/main/res/layout/bottom_app_bar_other_activities.xml b/app/src/main/res/layout/bottom_app_bar.xml
index fa1d886f..fa1d886f 100644
--- a/app/src/main/res/layout/bottom_app_bar_other_activities.xml
+++ b/app/src/main/res/layout/bottom_app_bar.xml
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 2fe0623c..87b52482 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -630,6 +630,10 @@
<string name="theme_item_post_title_color_detail">Applied to: Post title</string>
<string name="theme_item_post_content_color">Post Content Color</string>
<string name="theme_item_post_content_color_detail">Applied to: Post content</string>
+ <string name="theme_item_read_post_title_color">Read Post Title Color</string>
+ <string name="theme_item_read_post_title_color_detail">Applied to: Read Post Title</string>
+ <string name="theme_item_read_post_content_color">Read Post Content Color</string>
+ <string name="theme_item_read_post_content_color_detail">Applied to: Read Post Content</string>
<string name="theme_item_comment_color">Comment Color</string>
<string name="theme_item_comment_color_detail">Applied to: Comment</string>
<string name="theme_item_button_text_color">Button Text Color</string>
@@ -646,6 +650,8 @@
<string name="theme_item_background_color_detail">Applied to: Background of every page and navigation drawer</string>
<string name="theme_item_card_view_background_color">Card View Background Color</string>
<string name="theme_item_card_view_background_color_detail">Applied to: Post background and message background</string>
+ <string name="theme_item_read_post_card_view_background_color">Read Post Card View Background Color</string>
+ <string name="theme_item_read_post_card_view_background_color_detail">Applied to: Read Post background</string>
<string name="theme_item_comment_background_color">Comment Background Color</string>
<string name="theme_item_comment_background_color_detail">Applied to: Comment background</string>
<string name="theme_item_fully_collapsed_comment_background_color">Fully-Collapsed Comment Background Color</string>