aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_post_text.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_post_text.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_post_text.xml')
-rw-r--r--app/src/main/res/layout/activity_post_text.xml14
1 files changed, 3 insertions, 11 deletions
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"