I\'m trying to use the TextView constructor with style like this:
TextView
TextView myText = new TextView(MyActivity.this, null, R.style.my_style);
You can create a generic style and re-use it on multiple textviews like the one below:
textView.setTextAppearance(this, R.style.MyTextStyle);
Edit: this refers to Context