aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_post_image.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-02-27 08:58:15 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-02-27 08:58:15 +0000
commite1ce1af47a7eb5fd92570460122cd3c2aea11905 (patch)
tree206dee76245a37cdb32c5fadf4d20fa75d42c157 /app/src/main/res/layout/activity_post_image.xml
parent0f36ad4e1db8789fb012a54b8b6f81dbca49e828 (diff)
downloadinfinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.gz
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.bz2
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.lz
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.xz
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.zst
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.zip
Still prepare to add different themes.
Diffstat (limited to 'app/src/main/res/layout/activity_post_image.xml')
-rw-r--r--app/src/main/res/layout/activity_post_image.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/src/main/res/layout/activity_post_image.xml b/app/src/main/res/layout/activity_post_image.xml
index 92254896..e4acbe5c 100644
--- a/app/src/main/res/layout/activity_post_image.xml
+++ b/app/src/main/res/layout/activity_post_image.xml
@@ -75,7 +75,7 @@
<View
android:layout_width="match_parent"
android:layout_height="1dp"
- android:background="@color/dividerColor" />
+ android:background="?attr/dividerColor" />
<LinearLayout
android:layout_width="match_parent"
@@ -88,7 +88,7 @@
android:layout_margin="16dp"
android:padding="4dp"
android:text="@string/flair"
- android:textColor="@color/primaryTextColor"
+ android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
android:visibility="gone"
app:lib_setRadius="3dp"
@@ -103,7 +103,7 @@
android:layout_margin="16dp"
android:padding="4dp"
android:text="@string/spoiler"
- android:textColor="@color/primaryTextColor"
+ android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
app:lib_setRoundedBorderColor="?attr/spoilerColor"
@@ -117,10 +117,10 @@
android:layout_margin="16dp"
android:padding="4dp"
android:text="@string/nsfw"
- android:textColor="@color/primaryTextColor"
+ android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
app:lib_setRadius="3dp"
- app:lib_setRoundedBorderColor="@color/colorAccent"
+ app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -129,7 +129,7 @@
<View
android:layout_width="match_parent"
android:layout_height="1dp"
- android:background="@color/dividerColor" />
+ android:background="?attr/dividerColor" />
<EditText
android:id="@+id/post_title_edit_text_post_image_activity"
@@ -141,12 +141,12 @@
android:inputType="textCapSentences|textMultiLine"
android:textSize="?attr/title_font_18"
android:background="#00000000"
- android:textColor="@color/primaryTextColor" />
+ android:textColor="?attr/primaryTextColor" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
- android:background="@color/dividerColor" />
+ android:background="?attr/dividerColor" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/select_image_constraint_layout_post_image_activity"
@@ -188,7 +188,7 @@
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/select_again"
- android:textColor="@color/colorAccent"
+ android:textColor="?attr/colorAccent"
android:textSize="?attr/font_default"
android:visibility="gone" />