aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/daily_reading_widget_info.xml14
-rw-r--r--app/src/main/res/xml/preferences.xml16
2 files changed, 29 insertions, 1 deletions
diff --git a/app/src/main/res/xml/daily_reading_widget_info.xml b/app/src/main/res/xml/daily_reading_widget_info.xml
new file mode 100644
index 0000000..1014ed8
--- /dev/null
+++ b/app/src/main/res/xml/daily_reading_widget_info.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="36dp"
+ android:minHeight="36dp"
+ android:minResizeHeight="36dp"
+ android:minResizeWidth="36dp"
+ android:updatePeriodMillis="86400000"
+ android:previewImage="@drawable/ic_action_reading"
+ android:resizeMode="horizontal|vertical"
+ android:widgetCategory="home_screen|keyguard"
+ android:initialLayout="@layout/daily_reading_widget"
+ android:initialKeyguardLayout="@layout/daily_reading_widget"
+ android:label="@string/widget_daily_reading"/> \ No newline at end of file
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 1525761..baff3a7 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
- android:title="@string/title_activity_settings"
+ android:title="@string/settings_general"
android:key="preferences_key">
<ListPreference
@@ -24,4 +24,18 @@
</PreferenceCategory>
+ <PreferenceCategory
+ android:title="@string/settings_widget">
+
+ <ListPreference
+ android:key="pref_theme_widget"
+ android:title="@string/pref_title_theme_widget"
+ android:entries="@array/pref_themes_widget_entries"
+ android:entryValues="@array/pref_themes_widget_values"
+ android:persistent="true"
+ android:defaultValue="@string/pref_theme_widget_default"
+ android:summary="@string/pref_theme_widget_default_entry"/>
+
+ </PreferenceCategory>
+
</PreferenceScreen> \ No newline at end of file