minor widget tweaks
This commit is contained in:
parent
aa64bbcb13
commit
cb743f8230
@ -13,7 +13,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:paddingTop="4dp"
|
android:paddingTop="2dp"
|
||||||
android:src="@drawable/icon" />
|
android:src="@drawable/icon" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -92,7 +92,7 @@ public class WidgetUpdateService extends Service {
|
|||||||
}
|
}
|
||||||
|
|
||||||
view.setViewVisibility(R.id.progress, View.GONE);
|
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);
|
manager.updateAppWidget(thisWidget, view);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -112,7 +112,7 @@ public class WidgetUpdateService extends Service {
|
|||||||
// Toast: login failed
|
// Toast: login failed
|
||||||
|
|
||||||
view.setViewVisibility(R.id.progress, View.GONE);
|
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);
|
manager.updateAppWidget(thisWidget, view);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user