From: Gustavo Martin Morcuende Date: Mon, 20 Oct 2014 01:28:34 +0000 (+0200) Subject: WeatherInformation: widget view using wrong layout X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=9ee14302bb8da7d9cb41569c01b73580b67ebb66;p=JavaForFun WeatherInformation: widget view using wrong layout --- diff --git a/Android/WeatherInformation/app/src/main/java/de/example/exampletdd/WidgetIntentService.java b/Android/WeatherInformation/app/src/main/java/de/example/exampletdd/WidgetIntentService.java index fde23b6..f6c3e36 100644 --- a/Android/WeatherInformation/app/src/main/java/de/example/exampletdd/WidgetIntentService.java +++ b/Android/WeatherInformation/app/src/main/java/de/example/exampletdd/WidgetIntentService.java @@ -265,7 +265,7 @@ public class WidgetIntentService extends IntentService { 0, resultIntent, PendingIntent.FLAG_UPDATE_CURRENT); - remoteView.setOnClickPendingIntent(R.id.weather_appwidget_error, resultPendingIntent); + remoteView.setOnClickPendingIntent(R.id.weather_appwidget, resultPendingIntent); return remoteView; }