I got a class which extends Activity and programmatically adding some View items.
CheckBox checkBox = new CheckBox(this, null, android.R.style.Widget_CompoundButton_Star);
I've arrived here looking for styling the text of the CheckBox instead of the Drawable, and I find the solution by another way. But hey! Let me share the solution to the myself of the future.
CheckBox cb = new CheckBox(this, null, R.style.yourstyle);
CheckBox cb = new CheckBox(this); cb.setTextAppearance(this, R.style.yourstyle);
Hope it helps to solve the topic of the question!