minor widget tweaks

This commit is contained in:
Andrew Dolgov 2013-05-21 16:40:21 +04:00
parent aa64bbcb13
commit cb743f8230
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:paddingTop="4dp"
android:paddingTop="2dp"
android:src="@drawable/icon" />
<TextView

View File

@ -92,7 +92,7 @@ public class WidgetUpdateService extends Service {
}
view.setViewVisibility(R.id.progress, View.GONE);
view.setTextViewText(R.id.counter, getString(R.string.app_name));
view.setTextViewText(R.id.counter, "?");
manager.updateAppWidget(thisWidget, view);
}
};
@ -112,7 +112,7 @@ public class WidgetUpdateService extends Service {
// Toast: login failed
view.setViewVisibility(R.id.progress, View.GONE);
view.setTextViewText(R.id.counter, getString(R.string.app_name));
view.setTextViewText(R.id.counter, "?");
manager.updateAppWidget(thisWidget, view);
};
};