Lines Matching refs:style
52 * setTypeface() methods control the typeface and style of label text, whereas the
126 * Construct a new Switch with default styling, overriding specific style
137 * Construct a new Switch with a default style determined by the given theme attribute,
138 * overriding specific style attributes as requested.
143 * default style for this widget. e.g. android.R.attr.switchStyle.
184 * Sets the switch text color, size, style, hint color, and highlight color
256 * Sets the typeface and style in which the text should be displayed on the
259 * style that you specified.
261 public void setSwitchTypeface(Typeface tf, int style) {
262 if (style > 0) {
264 tf = Typeface.defaultFromStyle(style);
266 tf = Typeface.create(tf, style);
272 int need = style & ~typefaceStyle;