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