diff options
author | Andrew Dolgov <[email protected]> | 2017-05-30 00:38:22 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-05-30 00:38:22 +0300 |
commit | b185300695583c5e914c3d6de87b096e41f44602 (patch) | |
tree | ba4e07d74f80b3cdf537a6413282e46c047e96bc /org.fox.ttrss/src/main/res/layout/widget_small.xml | |
parent | ab36647865452daf448b65a1a63c6326944f36eb (diff) |
widget: add option for dark background, configurable update interval
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/widget_small.xml')
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/widget_small.xml | 14 |
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" > |