I am intrested to manipulate TextView's and set them to large (setTextAppearance()) ones dynamically. (I wonder why Google always puts a snippet code for the XML not along side with the Java code).
Is anyone familiar how to do it?
UPDATE
TextView txtVw = new TextView(this);
tblRow.addView(txtVw);
txtVw.setTextAppearance(this, android.R.attr.textAppearanceLarge);
The TextView appears on screen, though it does not appear large.
Have you tried something like:
textView.setTextAppearance(context, android.R.style.TextAppearance_Large);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With