Codota Logo
RadioButton.setTextAppearance
Code IndexAdd Codota to your IDE (free)

How to use
setTextAppearance
method
in
android.widget.RadioButton

Best Java code snippets using android.widget.RadioButton.setTextAppearance (Showing top 5 results out of 315)

  • Common ways to obtain RadioButton
private void myMethod () {
RadioButton r =
  • Codota IconView view;(RadioButton) view.findViewById(id)
  • Codota IconRadioGroup radioGroup;(RadioButton) radioGroup.getChildAt(int1)
  • Codota IconContext context;new RadioButton(context)
  • Smart code suggestions by Codota
}
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

private void createRadioGroup() {
  final LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT,
      LayoutParams.WRAP_CONTENT);
  if (mRadioGroup == null) {
    mRadioGroup = new RadioGroup(mContext);
    mRadioGroup.setLayoutParams(params);
  } else {
    removeView(mRadioGroup);
  }
  mRadioGroup.removeAllViews();
  mRadioGroup.setOnCheckedChangeListener(this);
  for (ODataRow label : items) {
    RadioButton rdoBtn = new RadioButton(mContext);
    rdoBtn.setLayoutParams(params);
    rdoBtn.setText(label.getString(mModel.getDefaultNameColumn()));
    if (textSize > -1) {
      rdoBtn.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
    }
    if (appearance > -1) {
      rdoBtn.setTextAppearance(mContext, appearance);
    }
    rdoBtn.setTextColor(textColor);
    mRadioGroup.addView(rdoBtn);
  }
  addView(mRadioGroup);
}
android.widgetRadioButtonsetTextAppearance

Popular methods of RadioButton

  • setChecked
  • isChecked
  • setText
  • setOnClickListener
  • setOnCheckedChangeListener
  • <init>
  • getId
  • setId
  • getText
  • setEnabled
  • setVisibility
  • setButtonDrawable
  • setVisibility,
  • setButtonDrawable,
  • setTag,
  • setTextColor,
  • setLayoutParams,
  • setBackgroundDrawable,
  • getTag,
  • setBackgroundColor,
  • setTextSize,
  • onDraw

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • Menu (java.awt)
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • JLabel (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now