I did alot of research to do the following:
I want to add a text view by code in the AppWidgetProvider
class , but i couldnt do that because the addView
method of RemoteViews
require an id of the view that is already defined in the xml layout.
And i want to add textview's depending on the size of the widget so can i do that ?
Thanks in advance .