aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-11-11 16:24:35 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-11-11 16:24:35 +0000
commit74ae9a8b683fd1550a01ac6c2e3f1241c80464e9 (patch)
tree4da46f6652a64f6b81e59895476445e910d4e116 /app/src/main/res/values
parentd7928436fea370395f389563f7c89e67e6853819 (diff)
downloadinfinity-for-reddit-74ae9a8b683fd1550a01ac6c2e3f1241c80464e9.tar
infinity-for-reddit-74ae9a8b683fd1550a01ac6c2e3f1241c80464e9.tar.gz
infinity-for-reddit-74ae9a8b683fd1550a01ac6c2e3f1241c80464e9.tar.bz2
infinity-for-reddit-74ae9a8b683fd1550a01ac6c2e3f1241c80464e9.tar.lz
infinity-for-reddit-74ae9a8b683fd1550a01ac6c2e3f1241c80464e9.tar.xz
infinity-for-reddit-74ae9a8b683fd1550a01ac6c2e3f1241c80464e9.tar.zst
infinity-for-reddit-74ae9a8b683fd1550a01ac6c2e3f1241c80464e9.zip
Set post layout for subreddit and user posts individually.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/attr.xml1
-rw-r--r--app/src/main/res/values/styles.xml4
2 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/res/values/attr.xml b/app/src/main/res/values/attr.xml
index bd522e6e..37fc5341 100644
--- a/app/src/main/res/values/attr.xml
+++ b/app/src/main/res/values/attr.xml
@@ -4,6 +4,7 @@
<declare-styleable name="FontStyle">
<attr name="font_default" format="dimension"/>
+ <attr name="font_10" format="dimension" />
<attr name="font_12" format="dimension"/>
<attr name="font_16" format="dimension"/>
<attr name="font_18" format="dimension"/>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 698057fd..57a528fd 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -95,6 +95,7 @@
<style name="FontStyle.Small">
<item name="font_default">12sp</item>
+ <item name="font_10">10sp</item>
<item name="font_12">12sp</item>
<item name="font_16">14sp</item>
<item name="font_18">16sp</item>
@@ -103,6 +104,7 @@
<style name="FontStyle.Normal">
<item name="font_default">14sp</item>
+ <item name="font_10">10sp</item>
<item name="font_12">12sp</item>
<item name="font_16">16sp</item>
<item name="font_18">18sp</item>
@@ -111,6 +113,7 @@
<style name="FontStyle.Large">
<item name="font_default">16sp</item>
+ <item name="font_10">12sp</item>
<item name="font_12">14sp</item>
<item name="font_16">18sp</item>
<item name="font_18">20sp</item>
@@ -119,6 +122,7 @@
<style name="FontStyle.XLarge">
<item name="font_default">18sp</item>
+ <item name="font_10">14sp</item>
<item name="font_12">16sp</item>
<item name="font_16">20sp</item>
<item name="font_18">22sp</item>