android.widget.CheckBox.setTextAppearance()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(172)

本文整理了Java中android.widget.CheckBox.setTextAppearance()方法的一些代码示例,展示了CheckBox.setTextAppearance()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CheckBox.setTextAppearance()方法的具体详情如下:
包路径:android.widget.CheckBox
类名称:CheckBox
方法名:setTextAppearance

CheckBox.setTextAppearance介绍

暂无

代码示例

代码示例来源:origin: aa112901/remusic

@Override
public void setTextAppearance(Context context, int resId) {
  super.setTextAppearance(context, resId);
  if (mTextHelper != null) {
    mTextHelper.setTextAppearanceForTextColor(resId);
  }
}

代码示例来源:origin: aa112901/remusic

@TargetApi(Build.VERSION_CODES.M)
@Override
public void setTextAppearance(int resId) {
  super.setTextAppearance(resId);
  if (mTextHelper != null) {
    mTextHelper.setTextAppearanceForTextColor(resId);
  }
}

代码示例来源:origin: com.albedinsky.android/ui-widget-common

/**
 */
@Override
@SuppressWarnings("deprecation")
public void setTextAppearance(@NonNull Context context, @StyleRes int resId) {
  super.setTextAppearance(context, resId);
  this.ensureDecorator();
  mDecorator.applyTextAppearanceFont(resId);
}

代码示例来源:origin: com.albedinsky.android/ui

/**
 */
@Override
@SuppressWarnings("deprecation")
public void setTextAppearance(@NonNull Context context, @StyleRes int resId) {
  super.setTextAppearance(context, resId);
  this.ensureDecorator();
  mDecorator.applyTextAppearanceFont(resId);
}

代码示例来源:origin: Odoo-mobile/framework

mCheckbox.setTextAppearance(mContext, appearance);

相关文章