aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/attr.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-09-26 16:30:24 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-09-26 16:30:24 +0000
commit837e461451a877c581ea38e401863a266a1781ca (patch)
tree640ec910dde0be8c8da0559b081c0f0a407d6a3e /app/src/main/res/values/attr.xml
parent81c259edcb557e231766e17980bf7a20906ee983 (diff)
downloadinfinity-for-reddit-837e461451a877c581ea38e401863a266a1781ca.tar
infinity-for-reddit-837e461451a877c581ea38e401863a266a1781ca.tar.gz
infinity-for-reddit-837e461451a877c581ea38e401863a266a1781ca.tar.bz2
infinity-for-reddit-837e461451a877c581ea38e401863a266a1781ca.tar.lz
infinity-for-reddit-837e461451a877c581ea38e401863a266a1781ca.tar.xz
infinity-for-reddit-837e461451a877c581ea38e401863a266a1781ca.tar.zst
infinity-for-reddit-837e461451a877c581ea38e401863a266a1781ca.zip
Add title and content font size options.
Diffstat (limited to 'app/src/main/res/values/attr.xml')
-rw-r--r--app/src/main/res/values/attr.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/res/values/attr.xml b/app/src/main/res/values/attr.xml
index 64aa4b9e..201074bd 100644
--- a/app/src/main/res/values/attr.xml
+++ b/app/src/main/res/values/attr.xml
@@ -9,4 +9,20 @@
<attr name="font_18" format="dimension"/>
<attr name="font_20" format="dimension"/>
</declare-styleable>
+
+ <declare-styleable name="TitleFontStyle">
+ <attr name="title_font_default" format="dimension"/>
+ <attr name="title_font_12" format="dimension"/>
+ <attr name="title_font_16" format="dimension"/>
+ <attr name="title_font_18" format="dimension"/>
+ <attr name="title_font_20" format="dimension"/>
+ </declare-styleable>
+
+ <declare-styleable name="ContentFontStyle">
+ <attr name="content_font_default" format="dimension"/>
+ <attr name="content_font_12" format="dimension"/>
+ <attr name="content_font_16" format="dimension"/>
+ <attr name="content_font_18" format="dimension"/>
+ <attr name="content_font_20" format="dimension"/>
+ </declare-styleable>
</resources> \ No newline at end of file