From 1bb44eb17259beabc6d39ea720296996d3507ef6 Mon Sep 17 00:00:00 2001 From: Adrian Ulrich Date: Thu, 23 Apr 2015 18:09:21 +0200 Subject: [PATCH] Bugfix: unbreak widgets Widgets can not have custom views so we must use a controls-layout with ImageView --- res/layout/controls_widget.xml | 74 ++++++++++++++++++++++++++++++++++ res/layout/widget_e.xml | 2 +- 2 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 res/layout/controls_widget.xml diff --git a/res/layout/controls_widget.xml b/res/layout/controls_widget.xml new file mode 100644 index 00000000..a4b31702 --- /dev/null +++ b/res/layout/controls_widget.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + diff --git a/res/layout/widget_e.xml b/res/layout/widget_e.xml index 040cd035..af6d21b0 100644 --- a/res/layout/widget_e.xml +++ b/res/layout/widget_e.xml @@ -53,6 +53,6 @@ THE SOFTWARE. android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> - +