summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-30 00:38:22 +0300
committerAndrew Dolgov <[email protected]>2017-05-30 00:38:22 +0300
commitb185300695583c5e914c3d6de87b096e41f44602 (patch)
treeba4e07d74f80b3cdf537a6413282e46c047e96bc /org.fox.ttrss/src/main/res/layout
parentab36647865452daf448b65a1a63c6326944f36eb (diff)
widget: add option for dark background, configurable update interval
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/widget_small.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/widget_small.xml b/org.fox.ttrss/src/main/res/layout/widget_small.xml
index 99124a3c..e6ee8a88 100755
--- a/org.fox.ttrss/src/main/res/layout/widget_small.xml
+++ b/org.fox.ttrss/src/main/res/layout/widget_small.xml
@@ -4,8 +4,20 @@
android:layout_height="fill_parent"
android:padding="@dimen/widget_margin" >
+ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/widget_light"
+ android:background="@color/cardview_light_background"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+
+ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/widget_dark"
+ android:visibility="invisible"
+ android:background="@color/cardview_dark_background"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+
<LinearLayout
- android:background="@android:color/white"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >