Hello,
i tried to change the padding of a TextView wich is places on a
widget.
Direct via 'findViewById' it isn't possible because the class extends
from AppWidgetProvider.
Therefore I tried to use remoteViews.setBundle with the following
code. But this is not a solution.
Bundle b = new Bundle(4);
b.putInt("left", 5);b.putInt("top", 5);b.putInt("right",
5);b.putInt("bottom", 5);
remoteViews.setBundle(R.id.name1, "setPadding", b);
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en