summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/values
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-30 08:21:13 +0300
committerAndrew Dolgov <[email protected]>2017-05-30 08:21:13 +0300
commitc857f0c62733963bbbb0d609feb82b4ff484ed42 (patch)
tree3766da320c56a7d588e8db43045f1d4632d731cb /org.fox.ttrss/src/main/res/values
parent1658a915282ab08613bbb4c45f66ec171c8d7c36 (diff)
widget: selectable background color
Diffstat (limited to 'org.fox.ttrss/src/main/res/values')
-rw-r--r--org.fox.ttrss/src/main/res/values/arrays.xml10
-rwxr-xr-xorg.fox.ttrss/src/main/res/values/strings.xml6
2 files changed, 15 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/res/values/arrays.xml b/org.fox.ttrss/src/main/res/values/arrays.xml
index 92cbefa9..fbb16985 100644
--- a/org.fox.ttrss/src/main/res/values/arrays.xml
+++ b/org.fox.ttrss/src/main/res/values/arrays.xml
@@ -37,4 +37,14 @@
<item>45</item>
<item>60</item>
</string-array>
+ <string-array name="pref_widget_bgs_values" translatable="false">
+ <item>WB_LIGHT</item>
+ <item>WB_DARK</item>
+ <item>WB_TRANSPARENT</item>
+ </string-array>
+ <string-array name="pref_widget_bgs">
+ <item>@string/widget_background_light</item>
+ <item>@string/widget_background_dark</item>
+ <item>@string/widget_background_transparent</item>
+ </string-array>
</resources> \ No newline at end of file
diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml
index 36980218..a607c720 100755
--- a/org.fox.ttrss/src/main/res/values/strings.xml
+++ b/org.fox.ttrss/src/main/res/values/strings.xml
@@ -248,5 +248,9 @@
<string name="pref_headlines_swipe_to_dismiss">Swipe to dismiss</string>
<string name="pref_headlines_swipe_to_dismiss_long">Disables headlines context menu</string>
<string name="pref_widget_update_interval">Update interval (in minutes)</string>
- <string name="pref_widget_dark_background">Use dark background</string>
+
+ <string name="widget_background_light">Light</string>
+ <string name="widget_background_dark">Dark</string>
+ <string name="widget_background_transparent">Transparent</string>
+ <string name="pref_widget_background">Background color</string>
</resources>