aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_view_subreddit_detail.xml
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/activity_view_subreddit_detail.xml
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/activity_view_subreddit_detail.xml')
-rw-r--r--app/src/main/res/layout/activity_view_subreddit_detail.xml9
1 files changed, 1 insertions, 8 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 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" />