From 6904b27b0636da9fa1477ae15e8367ed1f7c1cd7 Mon Sep 17 00:00:00 2001 From: "gu.martinm@gmail.com" Date: Fri, 26 Sep 2014 03:51:06 +0200 Subject: [PATCH] WeatherInformation: widget WIP --- res/layout/appwidget.xml | 74 ++++++++++++++++++------------------------ res/values/styles.xml | 1 + res/xml/appwidget_provider.xml | 6 ++-- 3 files changed, 35 insertions(+), 46 deletions(-) diff --git a/res/layout/appwidget.xml b/res/layout/appwidget.xml index d00a9b6..c83527d 100644 --- a/res/layout/appwidget.xml +++ b/res/layout/appwidget.xml @@ -5,6 +5,7 @@ android:layout_gravity="fill" android:orientation="horizontal" android:baselineAligned="false" + android:background="@color/widget_background_holo_dark" android:padding="@dimen/widget_margin" > - + android:src="@drawable/weather_showers" /> - - - - - - - - + + + - - + + + + + diff --git a/res/values/styles.xml b/res/values/styles.xml index 628fe9b..034465a 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -19,5 +19,6 @@ #48aed4 + #ff000000 diff --git a/res/xml/appwidget_provider.xml b/res/xml/appwidget_provider.xml index 90ffc87..396c70a 100644 --- a/res/xml/appwidget_provider.xml +++ b/res/xml/appwidget_provider.xml @@ -1,13 +1,13 @@ + android:updatePeriodMillis="900000"> -- 2.1.4