private static void setTextAppearance(TextView textView, int resid) { if (resid != 0) { textView.setTextAppearance(textView.getContext(), resid); } }