Howdy, I am currently creating several text views in a loop. It would be great if I applied style to these text comments.
This style already contains all the attributes, so I will not set the attribute, however, if I do
TextView counterTV = new TextView(activity,null, R.style.MenuField);
A TextView was created, but no styles are applied to it: (.
It works flawlessly if I apply the same style to the text view in the XML file.
theXs source share