aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/styles.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/styles.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/styles.xml')
-rw-r--r--app/src/main/res/values/styles.xml79
1 files changed, 77 insertions, 2 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index f066da89..2b6e10bb 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -85,8 +85,7 @@
<item name="android:textSize">?attr/font_default</item>
</style>
- <style name="FontStyle">
- </style>
+ <style name="FontStyle" />
<style name="FontStyle.Small">
<item name="font_default">12sp</item>
@@ -120,4 +119,80 @@
<item name="font_20">24sp</item>
</style>
+ <style name="TitleFontStyle" />
+
+ <style name="TitleFontStyle.Small">
+ <item name="title_font_default">12sp</item>
+ <item name="title_font_12">12sp</item>
+ <item name="title_font_16">14sp</item>
+ <item name="title_font_18">16sp</item>
+ <item name="title_font_20">18sp</item>
+ </style>
+
+ <style name="TitleFontStyle.Normal">
+ <item name="title_font_default">14sp</item>
+ <item name="title_font_12">12sp</item>
+ <item name="title_font_16">16sp</item>
+ <item name="title_font_18">18sp</item>
+ <item name="title_font_20">20sp</item>
+ </style>
+
+ <style name="TitleFontStyle.Large">
+ <item name="font_default">16sp</item>
+ <item name="title_font_12">14sp</item>
+ <item name="title_font_16">18sp</item>
+ <item name="title_font_18">20sp</item>
+ <item name="title_font_20">22sp</item>
+ </style>
+
+ <style name="TitleFontStyle.XLarge">
+ <item name="title_font_default">18sp</item>
+ <item name="title_font_12">16sp</item>
+ <item name="title_font_16">20sp</item>
+ <item name="title_font_18">22sp</item>
+ <item name="title_font_20">24sp</item>
+ </style>
+
+ <style name="ContentFontStyle" />
+
+ <style name="ContentFontStyle.Small">
+ <item name="content_font_default">12sp</item>
+ <item name="content_font_12">12sp</item>
+ <item name="content_font_16">14sp</item>
+ <item name="content_font_18">16sp</item>
+ <item name="content_font_20">18sp</item>
+ </style>
+
+ <style name="ContentFontStyle.Normal">
+ <item name="content_font_default">14sp</item>
+ <item name="content_font_12">12sp</item>
+ <item name="content_font_16">16sp</item>
+ <item name="content_font_18">18sp</item>
+ <item name="content_font_20">20sp</item>
+ </style>
+
+ <style name="ContentFontStyle.Large">
+ <item name="content_font_default">16sp</item>
+ <item name="content_font_12">14sp</item>
+ <item name="content_font_16">18sp</item>
+ <item name="content_font_18">20sp</item>
+ <item name="content_font_20">22sp</item>
+ </style>
+
+ <style name="ContentFontStyle.XLarge">
+ <item name="content_font_default">18sp</item>
+ <item name="content_font_12">16sp</item>
+ <item name="content_font_16">20sp</item>
+ <item name="content_font_18">22sp</item>
+ <item name="content_font_20">24sp</item>
+ </style>
+
+ <style name="ContentFontStyle.XXLarge">
+ <item name="content_font_default">20sp</item>
+ <item name="content_font_12">18sp</item>
+ <item name="content_font_16">22sp</item>
+ <item name="content_font_18">24sp</item>
+ <item name="content_font_20">26sp</item>
+ </style>
+
</resources>