aboutsummaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-08 23:58:37 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-08 23:58:37 +0200
commitd92e8381db906c20ceb7f91914d63d514a873c8a (patch)
tree94367a08152e5704eeb4b6b51747919669b46a55 /res/values
parentd9c4637b31c79095d7acff43fee03daa83859ea3 (diff)
setting to increase font size. fixed #420
Diffstat (limited to '')
-rw-r--r--res/values/attrs.xml6
-rw-r--r--res/values/strings.xml3
-rw-r--r--res/values/themes.xml9
3 files changed, 18 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
new file mode 100644
index 00000000..793b5604
--- /dev/null
+++ b/res/values/attrs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <attr name="TextSizeInfo" format="dimension"/>
+ <attr name="TextSizeBody" format="dimension"/>
+ <attr name="TextSizeHeadline" format="dimension"/>
+</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 841620e2..75ddbbc4 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -108,6 +108,7 @@
<string name="pref_never_send_crash_summary">By sending in stack traces you are helping the ongoing development of Conversations</string>
<string name="pref_confirm_messages">Confirm Messages</string>
<string name="pref_confirm_messages_summary">Let your contact know when you have received and read a message</string>
+ <string name="pref_ui_options">UI Options</string>
<string name="openpgp_error">OpenKeychain reported an error</string>
<string name="error_decrypting_file">I/O Error decrypting file</string>
<string name="accept">Accept</string>
@@ -251,4 +252,6 @@
<string name="pref_dont_save_encrypted_summary">Warning: This could lead to message loss</string>
<string name="pref_expert_options">Expert options</string>
<string name="pref_expert_options_summary">Please be very careful with those</string>
+ <string name="pref_use_larger_font">Increase font size</string>
+ <string name="pref_use_larger_font_summary">Use larger font sizes across the entire app</string>
</resources> \ No newline at end of file
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 97f1db8f..e2d4dcbe 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -5,6 +5,15 @@
<item name="android:actionBarStyle">@style/ConversationsActionBar</item>
<item name="android:actionBarWidgetTheme">@style/ConversationsActionBarWidget</item>
<item name="android:actionBarTabStyle">@style/ConversationsActionBarTabs</item>
+ <item name="TextSizeInfo">12sp</item>
+ <item name="TextSizeBody">14sp</item>
+ <item name="TextSizeHeadline">20sp</item>
+ </style>
+
+ <style name="ConversationsTheme.LargerText" parent="ConversationsTheme">
+ <item name="TextSizeInfo">14sp</item>
+ <item name="TextSizeBody">16sp</item>
+ <item name="TextSizeHeadline">22sp</item>
</style>
<style name="ConversationsActionBar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">