aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_post_text.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_text.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_text.xml')
-rw-r--r--app/src/main/res/layout/activity_post_text.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/src/main/res/layout/activity_post_text.xml b/app/src/main/res/layout/activity_post_text.xml
index 5f6d638d..619e2805 100644
--- a/app/src/main/res/layout/activity_post_text.xml
+++ b/app/src/main/res/layout/activity_post_text.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_text_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" />
<EditText
android:id="@+id/post_text_content_edit_text_post_text_activity"
@@ -158,7 +158,7 @@
android:inputType="textCapSentences|textMultiLine"
android:textSize="?attr/content_font_18"
android:background="#00000000"
- android:textColor="@color/primaryTextColor" />
+ android:textColor="?attr/primaryTextColor" />
</LinearLayout>