aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/item_post_compact.xml8
-rw-r--r--app/src/main/res/values/attr.xml1
-rw-r--r--app/src/main/res/values/styles.xml4
3 files changed, 9 insertions, 4 deletions
diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml
index dc0f5876..ecef2387 100644
--- a/app/src/main/res/layout/item_post_compact.xml
+++ b/app/src/main/res/layout/item_post_compact.xml
@@ -113,7 +113,7 @@
android:layout_height="wrap_content"
android:padding="4dp"
android:textColor="@android:color/white"
- android:textSize="?attr/font_12"
+ android:textSize="?attr/font_10"
app:lib_setRadius="3dp"
app:lib_setRoundedBGColor="@color/backgroundColorPrimaryDark"
app:lib_setRoundedBorderColor="@color/backgroundColorPrimaryDark"
@@ -128,7 +128,7 @@
android:padding="4dp"
android:text="@string/spoiler"
android:textColor="@android:color/white"
- android:textSize="?attr/font_12"
+ android:textSize="?attr/font_10"
android:visibility="gone"
app:lib_setRadius="3dp"
app:lib_setRoundedBGColor="@color/spoilerBackgroundColor"
@@ -143,7 +143,7 @@
android:padding="4dp"
android:text="@string/nsfw"
android:textColor="@android:color/white"
- android:textSize="?attr/font_12"
+ android:textSize="?attr/font_10"
android:visibility="gone"
app:lib_setRadius="3dp"
app:lib_setRoundedBGColor="@color/colorAccent"
@@ -158,7 +158,7 @@
android:layout_gravity="center"
android:padding="4dp"
android:textColor="@android:color/white"
- android:textSize="?attr/font_12"
+ android:textSize="?attr/font_10"
android:visibility="gone"
app:lib_setRadius="3dp"
app:lib_setRoundedBGColor="@color/flairBackgroundColor"
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>