aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-04-18 03:34:43 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-04-18 03:34:43 +0000
commitbde2220d91774337fba60cfdcc4324005b878736 (patch)
treeceeedce993984fadf5631d92c5c5d95885abb8b5 /app/src/main/res/layout
parent372acf4cf45a0420998cba31683b3e66844d3a1e (diff)
downloadinfinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar
infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.gz
infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.bz2
infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.lz
infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.xz
infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.zst
infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.zip
Remove unused attributes. Fix loading images using GlideImageGetter after the activity is destroyed.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_account_posts.xml2
-rw-r--r--app/src/main/res/layout/activity_account_saved_thing.xml6
-rw-r--r--app/src/main/res/layout/activity_comment.xml6
-rw-r--r--app/src/main/res/layout/activity_create_multi_reddit.xml7
-rw-r--r--app/src/main/res/layout/activity_custom_theme_listing.xml1
-rw-r--r--app/src/main/res/layout/activity_customize_theme.xml2
-rw-r--r--app/src/main/res/layout/activity_edit_comment.xml2
-rw-r--r--app/src/main/res/layout/activity_edit_multi_reddit.xml7
-rw-r--r--app/src/main/res/layout/activity_edit_post.xml5
-rw-r--r--app/src/main/res/layout/activity_filtered_thing.xml2
-rw-r--r--app/src/main/res/layout/activity_login.xml2
-rw-r--r--app/src/main/res/layout/activity_main.xml4
-rw-r--r--app/src/main/res/layout/activity_multi_reddit_listing.xml2
-rw-r--r--app/src/main/res/layout/activity_post_image.xml16
-rw-r--r--app/src/main/res/layout/activity_post_link.xml14
-rw-r--r--app/src/main/res/layout/activity_post_text.xml14
-rw-r--r--app/src/main/res/layout/activity_post_video.xml16
-rw-r--r--app/src/main/res/layout/activity_rules.xml2
-rw-r--r--app/src/main/res/layout/activity_search.xml2
-rw-r--r--app/src/main/res/layout/activity_search_result.xml8
-rw-r--r--app/src/main/res/layout/activity_search_subreddits_result.xml2
-rw-r--r--app/src/main/res/layout/activity_selected_subreddits.xml2
-rw-r--r--app/src/main/res/layout/activity_settings.xml4
-rw-r--r--app/src/main/res/layout/activity_subreddit_selection.xml2
-rw-r--r--app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml2
-rw-r--r--app/src/main/res/layout/activity_subscribed_thing_listing.xml6
-rw-r--r--app/src/main/res/layout/activity_view_message.xml2
-rw-r--r--app/src/main/res/layout/activity_view_multi_reddit_detail.xml2
-rw-r--r--app/src/main/res/layout/activity_view_post_detail.xml3
-rw-r--r--app/src/main/res/layout/activity_view_sidebar.xml2
-rw-r--r--app/src/main/res/layout/activity_view_subreddit_detail.xml9
-rw-r--r--app/src/main/res/layout/activity_view_user_detail.xml9
-rw-r--r--app/src/main/res/layout/app_bar_main.xml7
-rw-r--r--app/src/main/res/layout/fragment_flair_bottom_sheet.xml1
-rw-r--r--app/src/main/res/layout/fragment_theme_preview_posts.xml3
-rw-r--r--app/src/main/res/layout/item_comment.xml3
-rw-r--r--app/src/main/res/layout/item_footer_error.xml1
-rw-r--r--app/src/main/res/layout/item_load_comments.xml1
-rw-r--r--app/src/main/res/layout/item_load_more_comments_placeholder.xml1
-rw-r--r--app/src/main/res/layout/item_nav_drawer_divider.xml3
-rw-r--r--app/src/main/res/layout/item_post.xml15
-rw-r--r--app/src/main/res/layout/item_post_compact.xml16
-rw-r--r--app/src/main/res/layout/item_post_detail.xml15
-rw-r--r--app/src/main/res/layout/item_subreddit_listing.xml1
-rw-r--r--app/src/main/res/layout/item_user_listing.xml1
45 files changed, 27 insertions, 206 deletions
diff --git a/app/src/main/res/layout/activity_account_posts.xml b/app/src/main/res/layout/activity_account_posts.xml
index 695384d5..0cf8d0ef 100644
--- a/app/src/main/res/layout/activity_account_posts.xml
+++ b/app/src/main/res/layout/activity_account_posts.xml
@@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
android:id="@+id/coordinator_layout_account_posts_activity"
tools:context=".Activity.AccountPostsActivity">
@@ -12,7 +11,6 @@
android:id="@+id/appbar_layout_account_posts_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_account_saved_thing.xml b/app/src/main/res/layout/activity_account_saved_thing.xml
index 4fb26ebe..9f54be21 100644
--- a/app/src/main/res/layout/activity_account_saved_thing.xml
+++ b/app/src/main/res/layout/activity_account_saved_thing.xml
@@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
android:id="@+id/coordinator_layout_account_saved_thing_activity"
tools:context=".Activity.AccountPostsActivity">
@@ -12,7 +11,6 @@
android:id="@+id/appbar_layout_account_saved_thing_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -39,15 +37,11 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
- android:background="?attr/toolbarAndTabBackgroundColor"
app:layout_scrollFlags="scroll|enterAlways"
app:tabGravity="fill"
- app:tabIndicatorColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTabIndicator"
app:tabIndicatorHeight="3dp"
app:tabMode="fixed"
app:tabRippleColor="?attr/colorControlHighlight"
- app:tabSelectedTextColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTextColor"
- app:tabTextColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTextColor"
app:tabUnboundedRipple="false" />
</com.google.android.material.appbar.AppBarLayout>
diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml
index a9af4118..33b9cfc3 100644
--- a/app/src/main/res/layout/activity_comment.xml
+++ b/app/src/main/res/layout/activity_comment.xml
@@ -5,14 +5,12 @@
android:id="@+id/coordinator_layout_comment_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
tools:application=".CommentActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_comment_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
@@ -39,7 +37,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
- android:textColor="?attr/commentColor"
android:textSize="?attr/title_font_16" />
<androidx.recyclerview.widget.RecyclerView
@@ -55,8 +52,7 @@
android:id="@+id/divider_comment_activity"
android:layout_width="match_parent"
android:layout_height="1dp"
- android:layout_marginBottom="16dp"
- android:background="?attr/dividerColor" />
+ android:layout_marginBottom="16dp" />
<EditText
android:id="@+id/comment_edit_text_comment_activity"
diff --git a/app/src/main/res/layout/activity_create_multi_reddit.xml b/app/src/main/res/layout/activity_create_multi_reddit.xml
index be4bdeda..a3a6f916 100644
--- a/app/src/main/res/layout/activity_create_multi_reddit.xml
+++ b/app/src/main/res/layout/activity_create_multi_reddit.xml
@@ -11,7 +11,6 @@
android:id="@+id/appbar_layout_create_multi_reddit_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -57,8 +56,7 @@
<View
android:id="@+id/divider_1_create_multi_reddit_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/description_edit_text_create_multi_reddit_activity"
@@ -74,8 +72,7 @@
<View
android:id="@+id/divider_2_create_multi_reddit_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp"/>
<LinearLayout
android:id="@+id/visibility_wrapper_linear_layout_create_multi_reddit_activity"
diff --git a/app/src/main/res/layout/activity_custom_theme_listing.xml b/app/src/main/res/layout/activity_custom_theme_listing.xml
index 5b35b48c..7a16e736 100644
--- a/app/src/main/res/layout/activity_custom_theme_listing.xml
+++ b/app/src/main/res/layout/activity_custom_theme_listing.xml
@@ -11,7 +11,6 @@
android:id="@+id/appbar_layout_customize_theme_listing_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_customize_theme.xml b/app/src/main/res/layout/activity_customize_theme.xml
index 90dfa2b8..40358952 100644
--- a/app/src/main/res/layout/activity_customize_theme.xml
+++ b/app/src/main/res/layout/activity_customize_theme.xml
@@ -5,13 +5,13 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_customize_theme_activity"
+ android:background="?attr/backgroundColor"
tools:context=".Activity.CustomizeThemeActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_customize_theme_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_edit_comment.xml b/app/src/main/res/layout/activity_edit_comment.xml
index 0b77fb15..305c9578 100644
--- a/app/src/main/res/layout/activity_edit_comment.xml
+++ b/app/src/main/res/layout/activity_edit_comment.xml
@@ -5,14 +5,12 @@
android:id="@+id/coordinator_layout_edit_comment_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
tools:context=".Activity.EditCommentActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_edit_comment_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
diff --git a/app/src/main/res/layout/activity_edit_multi_reddit.xml b/app/src/main/res/layout/activity_edit_multi_reddit.xml
index 2cc7af50..c95ea6d1 100644
--- a/app/src/main/res/layout/activity_edit_multi_reddit.xml
+++ b/app/src/main/res/layout/activity_edit_multi_reddit.xml
@@ -11,7 +11,6 @@
android:id="@+id/appbar_layout_edit_multi_reddit_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -65,8 +64,7 @@
<View
android:id="@+id/divider_1_edit_multi_reddit_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/description_edit_text_edit_multi_reddit_activity"
@@ -82,8 +80,7 @@
<View
android:id="@+id/divider_2_edit_multi_reddit_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<LinearLayout
android:id="@+id/visibility_wrapper_linear_layout_edit_multi_reddit_activity"
diff --git a/app/src/main/res/layout/activity_edit_post.xml b/app/src/main/res/layout/activity_edit_post.xml
index 178e8af3..bc3e377b 100644
--- a/app/src/main/res/layout/activity_edit_post.xml
+++ b/app/src/main/res/layout/activity_edit_post.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_edit_post_activity"
- android:background="?attr/backgroundColor"
tools:context=".Activity.EditPostActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_edit_post_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -55,8 +53,7 @@
<View
android:id="@+id/divider_edit_post_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/post_text_content_edit_text_edit_post_activity"
diff --git a/app/src/main/res/layout/activity_filtered_thing.xml b/app/src/main/res/layout/activity_filtered_thing.xml
index e6c0c125..dd8e8cb9 100644
--- a/app/src/main/res/layout/activity_filtered_thing.xml
+++ b/app/src/main/res/layout/activity_filtered_thing.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_filtered_thing_activity"
- android:background="?attr/backgroundColor"
tools:application=".FilteredPostsActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_filtered_posts_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml
index dbf51b4c..bceaf7a0 100644
--- a/app/src/main/res/layout/activity_login.xml
+++ b/app/src/main/res/layout/activity_login.xml
@@ -4,14 +4,12 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
tools:application="ml.docilealligator.infinityforreddit.Activity.LoginActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_login_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index b40ac82f..0165cd9f 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -5,7 +5,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
- android:background="?attr/backgroundColor"
tools:openDrawer="start">
<include
@@ -17,8 +16,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
- android:id="@+id/navigation_view_main_activity"
- android:background="?attr/backgroundColor">
+ android:id="@+id/navigation_view_main_activity">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/nav_drawer_recycler_view_main_activity"
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 65285189..6fdd794a 100644
--- a/app/src/main/res/layout/activity_multi_reddit_listing.xml
+++ b/app/src/main/res/layout/activity_multi_reddit_listing.xml
@@ -11,7 +11,6 @@
android:id="@+id/appbar_layout_multi_reddit_listing_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -77,7 +76,6 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
android:layout_gravity="bottom|end"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
app:srcCompat="@drawable/ic_add_day_night_24dp"
app:tint="@android:color/white" />
diff --git a/app/src/main/res/layout/activity_post_image.xml b/app/src/main/res/layout/activity_post_image.xml
index e4a21951..8360f4b9 100644
--- a/app/src/main/res/layout/activity_post_image.xml
+++ b/app/src/main/res/layout/activity_post_image.xml
@@ -5,14 +5,12 @@
android:id="@+id/coordinator_layout_post_image_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
tools:application=".PostImageActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_post_image_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
@@ -76,8 +74,7 @@
<View
android:id="@+id/divider_1_post_image_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<LinearLayout
android:layout_width="match_parent"
@@ -94,7 +91,6 @@
android:textSize="?attr/font_default"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/flairColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -108,7 +104,6 @@
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/spoilerColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -122,7 +117,6 @@
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -131,8 +125,7 @@
<View
android:id="@+id/divider_2_post_image_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/post_title_edit_text_post_image_activity"
@@ -149,8 +142,7 @@
<View
android:id="@+id/divider_3_post_image_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/select_image_constraint_layout_post_image_activity"
@@ -163,7 +155,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_outline_add_a_photo_24dp"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/select_from_library_fab_post_image_activity"
app:layout_constraintHorizontal_chainStyle="spread"
@@ -176,7 +167,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_outline_select_photo_24dp"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_chainStyle="spread"
diff --git a/app/src/main/res/layout/activity_post_link.xml b/app/src/main/res/layout/activity_post_link.xml
index 4b7ba671..0187eb5a 100644
--- a/app/src/main/res/layout/activity_post_link.xml
+++ b/app/src/main/res/layout/activity_post_link.xml
@@ -5,14 +5,12 @@
android:id="@+id/coordinator_layout_post_link_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
tools:application=".PostTextActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_post_link_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
@@ -76,8 +74,7 @@
<View
android:id="@+id/divider_1_post_link_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<LinearLayout
android:layout_width="match_parent"
@@ -94,7 +91,6 @@
android:textSize="?attr/font_default"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/flairColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -108,7 +104,6 @@
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/spoilerColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -122,7 +117,6 @@
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -131,8 +125,7 @@
<View
android:id="@+id/divider_2_post_link_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/post_title_edit_text_post_link_activity"
@@ -149,8 +142,7 @@
<View
android:id="@+id/divider_3_post_link_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/post_link_edit_text_post_link_activity"
diff --git a/app/src/main/res/layout/activity_post_text.xml b/app/src/main/res/layout/activity_post_text.xml
index b4a7fb4a..c28d08f5 100644
--- a/app/src/main/res/layout/activity_post_text.xml
+++ b/app/src/main/res/layout/activity_post_text.xml
@@ -5,14 +5,12 @@
android:id="@+id/coordinator_layout_post_text_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
tools:application=".PostTextActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_post_text_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
@@ -76,8 +74,7 @@
<View
android:id="@+id/divider_1_post_text_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<LinearLayout
android:layout_width="match_parent"
@@ -94,7 +91,6 @@
android:textSize="?attr/font_default"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/flairColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -108,7 +104,6 @@
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/spoilerColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -122,7 +117,6 @@
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -131,8 +125,7 @@
<View
android:id="@+id/divider_2_post_text_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/post_title_edit_text_post_text_activity"
@@ -149,8 +142,7 @@
<View
android:id="@+id/divider_3_post_text_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/post_text_content_edit_text_post_text_activity"
diff --git a/app/src/main/res/layout/activity_post_video.xml b/app/src/main/res/layout/activity_post_video.xml
index ebebe237..7eea9601 100644
--- a/app/src/main/res/layout/activity_post_video.xml
+++ b/app/src/main/res/layout/activity_post_video.xml
@@ -5,14 +5,12 @@
android:id="@+id/coordinator_layout_post_video_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
tools:application=".PostImageActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_post_video_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
@@ -76,8 +74,7 @@
<View
android:id="@+id/divider_1_post_video_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<LinearLayout
android:layout_width="match_parent"
@@ -94,7 +91,6 @@
android:textSize="?attr/font_default"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/flairColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -108,7 +104,6 @@
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/spoilerColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -122,7 +117,6 @@
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -131,8 +125,7 @@
<View
android:id="@+id/divider_2_post_video_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<EditText
android:id="@+id/post_title_edit_text_post_video_activity"
@@ -149,8 +142,7 @@
<View
android:id="@+id/divider_3_post_video_activity"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/select_video_constraint_layout_post_video_activity"
@@ -163,7 +155,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_outline_add_a_photo_24dp"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/select_from_library_fab_post_video_activity"
app:layout_constraintHorizontal_chainStyle="spread"
@@ -176,7 +167,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_outline_select_photo_24dp"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_chainStyle="spread"
diff --git a/app/src/main/res/layout/activity_rules.xml b/app/src/main/res/layout/activity_rules.xml
index 4012d419..3d39420a 100644
--- a/app/src/main/res/layout/activity_rules.xml
+++ b/app/src/main/res/layout/activity_rules.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_rules_activity"
- android:background="?attr/backgroundColor"
tools:application=".RulesActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_rules_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml
index f9ac9a90..bcda1172 100644
--- a/app/src/main/res/layout/activity_search.xml
+++ b/app/src/main/res/layout/activity_search.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_search_activity"
- android:background="?attr/backgroundColor"
tools:application=".SearchActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_search_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<FrameLayout
diff --git a/app/src/main/res/layout/activity_search_result.xml b/app/src/main/res/layout/activity_search_result.xml
index 63c8212e..79859872 100644
--- a/app/src/main/res/layout/activity_search_result.xml
+++ b/app/src/main/res/layout/activity_search_result.xml
@@ -4,14 +4,12 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:id="@+id/coordinator_layout_search_result_activity"
- android:background="?attr/backgroundColor">
+ android:id="@+id/coordinator_layout_search_result_activity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_search_result_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -34,14 +32,10 @@
android:id="@+id/tab_layout_search_result_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
app:layout_scrollFlags="scroll|enterAlways"
app:tabGravity="fill"
app:tabMode="fixed"
- app:tabIndicatorColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTabIndicator"
app:tabIndicatorHeight="3dp"
- app:tabSelectedTextColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTextColor"
- app:tabTextColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTextColor"
app:tabRippleColor="?attr/colorControlHighlight"
app:tabUnboundedRipple="false"/>
diff --git a/app/src/main/res/layout/activity_search_subreddits_result.xml b/app/src/main/res/layout/activity_search_subreddits_result.xml
index 183104b1..eaa560e7 100644
--- a/app/src/main/res/layout/activity_search_subreddits_result.xml
+++ b/app/src/main/res/layout/activity_search_subreddits_result.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_search_subreddits_result_activity"
- android:background="?attr/backgroundColor"
tools:application=".SearchSubredditsResultActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_search_subreddits_result_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
diff --git a/app/src/main/res/layout/activity_selected_subreddits.xml b/app/src/main/res/layout/activity_selected_subreddits.xml
index 44edbd7e..dc33a69c 100644
--- a/app/src/main/res/layout/activity_selected_subreddits.xml
+++ b/app/src/main/res/layout/activity_selected_subreddits.xml
@@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
android:id="@+id/coordinator_layout_selected_subreddits_activity"
tools:context=".Activity.AccountPostsActivity">
@@ -12,7 +11,6 @@
android:id="@+id/appbar_layout_selected_subreddits_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index 7e10c9ad..1bd20c09 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -1,14 +1,12 @@
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="?attr/backgroundColor">
+ android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_settings_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_subreddit_selection.xml b/app/src/main/res/layout/activity_subreddit_selection.xml
index 4422754d..630f2af4 100644
--- a/app/src/main/res/layout/activity_subreddit_selection.xml
+++ b/app/src/main/res/layout/activity_subreddit_selection.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_subreddit_selection_activity"
- android:background="?attr/backgroundColor"
tools:application=".SubredditSelectionActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_subreddit_selection_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml b/app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml
index d552fb84..9585922d 100644
--- a/app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml
+++ b/app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_subreddits_multiselection_activity"
- android:background="?attr/backgroundColor"
tools:application=".SubscribedSubredditsListingFragment">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_subreddits_multiselection_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_subscribed_thing_listing.xml b/app/src/main/res/layout/activity_subscribed_thing_listing.xml
index 460b1ba6..db10bdc8 100644
--- a/app/src/main/res/layout/activity_subscribed_thing_listing.xml
+++ b/app/src/main/res/layout/activity_subscribed_thing_listing.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_subscribed_thing_listing_activity"
- android:background="?attr/backgroundColor"
tools:application=".SubscribedThingListingActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_subscribed_thing_listing_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -37,14 +35,10 @@
android:id="@+id/tab_layout_subscribed_thing_listing_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
app:layout_scrollFlags="scroll|enterAlways"
app:tabGravity="fill"
app:tabMode="fixed"
- app:tabIndicatorColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTabIndicator"
app:tabIndicatorHeight="3dp"
- app:tabSelectedTextColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTextColor"
- app:tabTextColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTextColor"
app:tabRippleColor="?attr/colorControlHighlight"
app:tabUnboundedRipple="false" />
diff --git a/app/src/main/res/layout/activity_view_message.xml b/app/src/main/res/layout/activity_view_message.xml
index 46c94f3a..f5f1c4e5 100644
--- a/app/src/main/res/layout/activity_view_message.xml
+++ b/app/src/main/res/layout/activity_view_message.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_view_message_activity"
- android:background="?attr/backgroundColor"
tools:context=".Activity.ViewMessageActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_view_message_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
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 310a4527..dbe8875b 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
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_view_multi_reddit_detail_activity"
- android:background="?attr/backgroundColor"
tools:context=".Activity.ViewMultiRedditDetailActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_view_multi_reddit_detail_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml
index fb9bb240..3b0dd281 100644
--- a/app/src/main/res/layout/activity_view_post_detail.xml
+++ b/app/src/main/res/layout/activity_view_post_detail.xml
@@ -5,14 +5,12 @@
android:id="@+id/coordinator_layout_view_post_detail"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/backgroundColor"
tools:application=".ViewPostDetailActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_view_post_detail_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -76,7 +74,6 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
app:tint="@android:color/white"
app:srcCompat="@drawable/ic_keyboard_arrow_down_24dp" />
diff --git a/app/src/main/res/layout/activity_view_sidebar.xml b/app/src/main/res/layout/activity_view_sidebar.xml
index 113dd273..301b04cc 100644
--- a/app/src/main/res/layout/activity_view_sidebar.xml
+++ b/app/src/main/res/layout/activity_view_sidebar.xml
@@ -5,14 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_view_sidebar_activity"
- android:background="?attr/backgroundColor"
tools:context=".Activity.ViewSidebarActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_view_sidebar_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
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 f7b2ee50..da17e978 100644
--- a/app/src/main/res/layout/activity_view_subreddit_detail.xml
+++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml
@@ -5,7 +5,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_view_subreddit_detail_activity"
- android:background="?attr/backgroundColor"
tools:application=".Activity.ViewSubredditDetailActivity">
<androidx.viewpager.widget.ViewPager
@@ -18,7 +17,6 @@
android:id="@+id/appbar_layout_view_subreddit_detail_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -58,8 +56,7 @@
android:paddingTop="36dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
- android:layout_below="@id/banner_image_view_view_subreddit_detail_activity"
- android:background="?attr/backgroundColor">
+ android:layout_below="@id/banner_image_view_view_subreddit_detail_activity">
<TextView
android:id="@+id/subreddit_name_text_view_view_subreddit_detail_activity"
@@ -68,7 +65,6 @@
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:textSize="?attr/font_18"
- android:textColor="?attr/subreddit"
android:layout_gravity="center_horizontal"/>
<com.google.android.material.chip.Chip
@@ -132,7 +128,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
- android:background="?attr/toolbarAndTabBackgroundColor"
app:layout_scrollFlags="scroll|enterAlways"
app:tabGravity="fill"
app:tabMode="fixed"
@@ -148,7 +143,6 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:visibility="gone"
- app:backgroundTint="?attr/backgroundColor"
app:fabAlignmentMode="center">
<LinearLayout
@@ -217,7 +211,6 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
android:visibility="gone"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
app:srcCompat="@drawable/ic_add_day_night_24dp"
app:tint="@android:color/white"
app:layout_anchor="@id/bottom_navigation_view_subreddit_detail_activity" />
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 8b2e3546..4539f50a 100644
--- a/app/src/main/res/layout/activity_view_user_detail.xml
+++ b/app/src/main/res/layout/activity_view_user_detail.xml
@@ -5,7 +5,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_view_user_detail_activity"
- android:background="?attr/backgroundColor"
tools:application=".ViewUserDetailActivity">
<androidx.viewpager.widget.ViewPager
@@ -18,7 +17,6 @@
android:id="@+id/appbar_layout_view_user_detail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -26,7 +24,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:titleEnabled="false"
- app:contentScrim="?attr/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed"
app:toolbarId="@+id/toolbar_view_user_detail_activity">
@@ -58,8 +55,7 @@
android:paddingTop="36dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
- android:layout_below="@id/banner_image_view_view_user_detail_activity"
- android:background="?attr/backgroundColor">
+ android:layout_below="@id/banner_image_view_view_user_detail_activity">
<TextView
android:id="@+id/user_name_text_view_view_user_detail_activity"
@@ -67,7 +63,6 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:textSize="?attr/font_18"
- android:textColor="?attr/username"
android:layout_gravity="center_horizontal"/>
<TextView
@@ -76,7 +71,6 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
- android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
android:layout_gravity="center_horizontal"/>
@@ -109,7 +103,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
- android:background="?attr/toolbarAndTabBackgroundColor"
app:layout_scrollFlags="scroll|enterAlways"
app:tabGravity="fill"
app:tabMode="fixed"
diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml
index b1d9b330..bcc7afb8 100644
--- a/app/src/main/res/layout/app_bar_main.xml
+++ b/app/src/main/res/layout/app_bar_main.xml
@@ -11,7 +11,6 @@
android:id="@+id/appbar_layout_main_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?attr/toolbarAndTabBackgroundColor"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
@@ -37,15 +36,11 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
- android:background="?attr/toolbarAndTabBackgroundColor"
app:layout_scrollFlags="scroll|enterAlways"
app:tabGravity="fill"
- app:tabIndicatorColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTabIndicator"
app:tabIndicatorHeight="3dp"
app:tabMode="fixed"
app:tabRippleColor="?attr/colorControlHighlight"
- app:tabSelectedTextColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTextColor"
- app:tabTextColor="?attr/tabLayoutWithCollapsedCollapsingToolbarTextColor"
app:tabUnboundedRipple="false" />
</com.google.android.material.appbar.AppBarLayout>
@@ -62,7 +57,6 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:visibility="gone"
- app:backgroundTint="?attr/backgroundColor"
app:fabAlignmentMode="center">
<LinearLayout
@@ -131,7 +125,6 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
android:visibility="gone"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
app:srcCompat="@drawable/ic_add_day_night_24dp"
app:tint="@android:color/white"
app:layout_anchor="@id/bottom_navigation_main_activity" />
diff --git a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
index 4cec7313..edd8ad20 100644
--- a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
@@ -4,7 +4,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:background="?attr/backgroundColor"
tools:application=".FlairBottomSheetFragment">
<TextView
diff --git a/app/src/main/res/layout/fragment_theme_preview_posts.xml b/app/src/main/res/layout/fragment_theme_preview_posts.xml
index 4b4f7cb0..c486f8b0 100644
--- a/app/src/main/res/layout/fragment_theme_preview_posts.xml
+++ b/app/src/main/res/layout/fragment_theme_preview_posts.xml
@@ -224,8 +224,7 @@
android:layout_height="150dp"
android:scaleType="center"
android:src="@drawable/ic_link"
- android:tint="@android:color/tab_indicator_text"
- android:background="?attr/noPreviewLinkBackgroundColor" />
+ android:tint="@android:color/tab_indicator_text" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml
index 3a0505d2..ab0ebbe4 100644
--- a/app/src/main/res/layout/item_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
@@ -47,7 +47,6 @@
android:layout_marginEnd="8dp"
android:ellipsize="end"
android:maxLines="2"
- android:textColor="?attr/username"
android:textSize="?attr/font_default"
app:layout_constraintBottom_toTopOf="@id/author_flair_text_view_item_post_comment"
app:layout_constraintEnd_toStartOf="@+id/barrier"
@@ -61,7 +60,6 @@
android:layout_marginEnd="8dp"
android:ellipsize="end"
android:maxLines="2"
- android:textColor="?attr/authorFlairTextColor"
android:textSize="?attr/font_12"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
@@ -236,7 +234,6 @@
android:id="@+id/divider_item_comment"
android:layout_width="match_parent"
android:layout_height="1dp"
- android:background="?attr/dividerColor"
android:visibility="gone" />
</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_footer_error.xml b/app/src/main/res/layout/item_footer_error.xml
index fba52052..c0278ca9 100644
--- a/app/src/main/res/layout/item_footer_error.xml
+++ b/app/src/main/res/layout/item_footer_error.xml
@@ -22,7 +22,6 @@
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
- android:backgroundTint="?attr/colorPrimaryLightTheme"
android:textColor="@android:color/white"
android:text="@string/retry"
android:textSize="?attr/font_default" />
diff --git a/app/src/main/res/layout/item_load_comments.xml b/app/src/main/res/layout/item_load_comments.xml
index 058db8f1..1df3566f 100644
--- a/app/src/main/res/layout/item_load_comments.xml
+++ b/app/src/main/res/layout/item_load_comments.xml
@@ -12,7 +12,6 @@
android:layout_margin="16dp"
app:mlpb_progress_stoke_width="3dp"
app:mlpb_progress_color="?attr/colorAccent"
- app:mlpb_background_color="?attr/circularProgressBarBackground"
android:layout_gravity="center_horizontal"/>
</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_load_more_comments_placeholder.xml b/app/src/main/res/layout/item_load_more_comments_placeholder.xml
index fc33b062..d801a867 100644
--- a/app/src/main/res/layout/item_load_more_comments_placeholder.xml
+++ b/app/src/main/res/layout/item_load_more_comments_placeholder.xml
@@ -30,7 +30,6 @@
android:id="@+id/divider_item_load_more_comments_placeholder"
android:layout_width="match_parent"
android:layout_height="1dp"
- android:background="?attr/dividerColor"
android:visibility="gone" />
</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_nav_drawer_divider.xml b/app/src/main/res/layout/item_nav_drawer_divider.xml
index c27b4d55..7f641a96 100644
--- a/app/src/main/res/layout/item_nav_drawer_divider.xml
+++ b/app/src/main/res/layout/item_nav_drawer_divider.xml
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<View xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" /> \ No newline at end of file
+ android:layout_height="1dp" /> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml
index 7e1e25cc..b2030d63 100644
--- a/app/src/main/res/layout/item_post.xml
+++ b/app/src/main/res/layout/item_post.xml
@@ -36,7 +36,6 @@
android:layout_gravity="center"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
- android:textColor="?attr/subreddit"
android:textSize="?attr/font_default"
app:layout_constraintBottom_toTopOf="@id/user_text_view_item_post"
app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_item_post"
@@ -49,7 +48,6 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
- android:textColor="?attr/username"
android:textSize="?attr/font_default"
android:maxLines="2"
android:ellipsize="end"
@@ -64,7 +62,6 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginEnd="8dp"
- android:tint="?attr/stickiedPost"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/subreddit_name_text_view_item_post"
@@ -127,8 +124,6 @@
android:padding="4dp"
android:textSize="?attr/font_12"
android:textColor="@android:color/white"
- app:lib_setRoundedBGColor="?attr/postType"
- app:lib_setRoundedBorderColor="?attr/postType"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -144,8 +139,6 @@
android:padding="4dp"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="?attr/spoilerColor"
- app:lib_setRoundedBorderColor="?attr/spoilerColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -158,8 +151,6 @@
android:textSize="?attr/font_12"
android:textColor="@android:color/white"
android:visibility="gone"
- app:lib_setRoundedBGColor="?attr/nsfwColor"
- app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -174,8 +165,6 @@
android:padding="4dp"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="?attr/flairColor"
- app:lib_setRoundedBorderColor="?attr/flairColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -184,7 +173,6 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_archive_outline"
- android:tint="?attr/archivedTint"
android:visibility="gone" />
<ImageView
@@ -192,7 +180,6 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_outline_lock_24dp"
- android:tint="?attr/lockedIconTint"
android:visibility="gone" />
<ImageView
@@ -200,7 +187,6 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/crosspost"
- android:tint="?attr/crosspost"
android:visibility="gone" />
<TextView
@@ -283,7 +269,6 @@
android:scaleType="center"
android:src="@drawable/ic_link"
android:tint="@android:color/tab_indicator_text"
- android:background="?attr/noPreviewLinkBackgroundColor"
android:visibility="gone"/>
<androidx.constraintlayout.widget.ConstraintLayout
diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml
index edf83fd0..a6375133 100644
--- a/app/src/main/res/layout/item_post_compact.xml
+++ b/app/src/main/res/layout/item_post_compact.xml
@@ -47,7 +47,6 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginEnd="8dp"
- android:tint="?attr/stickiedPost"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline2"
@@ -115,8 +114,6 @@
android:textColor="@android:color/white"
android:textSize="?attr/font_10"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="?attr/postType"
- app:lib_setRoundedBorderColor="?attr/postType"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -131,8 +128,6 @@
android:textSize="?attr/font_10"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="?attr/spoilerColor"
- app:lib_setRoundedBorderColor="?attr/spoilerColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -146,8 +141,6 @@
android:textSize="?attr/font_10"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="?attr/nsfwColor"
- app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -161,8 +154,6 @@
android:textSize="?attr/font_10"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="?attr/flairColor"
- app:lib_setRoundedBorderColor="?attr/flairColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -171,7 +162,6 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_archive_outline"
- android:tint="?attr/archivedTint"
android:visibility="gone" />
<ImageView
@@ -179,7 +169,6 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_outline_lock_24dp"
- android:tint="?attr/lockedIconTint"
android:visibility="gone" />
<ImageView
@@ -187,7 +176,6 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/crosspost"
- android:tint="?attr/crosspost"
android:visibility="gone" />
<TextView
@@ -261,7 +249,6 @@
android:scaleType="center"
android:src="@drawable/ic_link"
android:tint="@android:color/tab_indicator_text"
- android:background="?attr/noPreviewLinkBackgroundColor"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/barrier2"
@@ -380,8 +367,7 @@
<View
android:id="@+id/divider_item_post_compact"
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="?attr/dividerColor" />
+ android:layout_height="1dp" />
</LinearLayout>
diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml
index 61cf7399..ce515feb 100644
--- a/app/src/main/res/layout/item_post_detail.xml
+++ b/app/src/main/res/layout/item_post_detail.xml
@@ -26,7 +26,6 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
- android:textColor="?attr/subreddit"
android:textSize="?attr/font_default"
android:maxLines="2"
android:ellipsize="end"
@@ -41,7 +40,6 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
- android:textColor="?attr/username"
android:textSize="?attr/font_default"
android:maxLines="2"
android:ellipsize="end"
@@ -57,7 +55,6 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
- android:textColor="?attr/username"
android:textSize="?attr/font_12"
android:maxLines="2"
android:ellipsize="end"
@@ -126,8 +123,6 @@
android:padding="4dp"
android:textSize="?attr/font_12"
android:textColor="@android:color/white"
- app:lib_setRoundedBGColor="?attr/postType"
- app:lib_setRoundedBorderColor="?attr/postType"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -143,8 +138,6 @@
android:padding="4dp"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="?attr/spoilerColor"
- app:lib_setRoundedBorderColor="?attr/spoilerColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -157,8 +150,6 @@
android:textSize="?attr/font_12"
android:textColor="@android:color/white"
android:visibility="gone"
- app:lib_setRoundedBGColor="?attr/nsfwColor"
- app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -173,8 +164,6 @@
android:textColor="@android:color/white"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="?attr/flairColor"
- app:lib_setRoundedBorderColor="?attr/flairColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -183,7 +172,6 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/ic_archive_outline"
- android:tint="?attr/archivedTint"
android:visibility="gone" />
<ImageView
@@ -191,7 +179,6 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/ic_outline_lock_24dp"
- android:tint="?attr/lockedIconTint"
android:visibility="gone" />
<ImageView
@@ -199,7 +186,6 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/crosspost"
- android:tint="?attr/crosspost"
android:visibility="gone" />
<TextView
@@ -280,7 +266,6 @@
android:id="@+id/image_view_no_preview_link_item_post_detail"
android:layout_width="match_parent"
android:layout_height="150dp"
- android:background="?attr/noPreviewLinkBackgroundColor"
android:scaleType="center"
android:src="@drawable/ic_link"
android:tint="@android:color/tab_indicator_text"
diff --git a/app/src/main/res/layout/item_subreddit_listing.xml b/app/src/main/res/layout/item_subreddit_listing.xml
index 2b3e186b..30a6fe90 100644
--- a/app/src/main/res/layout/item_subreddit_listing.xml
+++ b/app/src/main/res/layout/item_subreddit_listing.xml
@@ -36,7 +36,6 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_add_24dp"
- android:tint="?attr/unsubscribed"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
diff --git a/app/src/main/res/layout/item_user_listing.xml b/app/src/main/res/layout/item_user_listing.xml
index e2b22637..522b2e42 100644
--- a/app/src/main/res/layout/item_user_listing.xml
+++ b/app/src/main/res/layout/item_user_listing.xml
@@ -36,7 +36,6 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_add_24dp"
- android:tint="?attr/unsubscribed"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"