@Override
 protected void onBindView(View view) {
   super.onBindView(view);
   getAppIcon();
   prefAppIcon = (ImageView) view.findViewById(R.id.iconForApp);
   prefAppIcon.setImageDrawable(appIcon);
 }
 @Override
 protected void onBindView(@NonNull final View view) {
   super.onBindView(view);
   final ImageView imageView = (ImageView) view.findViewById(R.id.color);
   imageView.setImageBitmap(
       TwidereColorUtils.getColorPreviewBitmap(getContext(), getValue(), false));
 }
 @Override
 protected void onBindView(View view) {
   super.onBindView(view);
   listEqualizer = (EqualizerSurface) view.findViewById(R.id.FrequencyResponse);
   for (int i = 0; i < levels.length; i++) {
     listEqualizer.setBand(i, levels[i]);
   }
 }
 @Override
 protected void onBindView(View view) {
   super.onBindView(view);
   /* Some translations of Key Combination overflow a single line. Allow wrapping. */
   TextView textView = (TextView) view.findViewById(android.R.id.title);
   if (textView != null) {
     textView.setSingleLine(false);
   }
 }
 /** {@inheritDoc} */
 @Override
 protected void onBindView(View view) {
   super.onBindView(view);
   View v = view.findViewById(R.id.color_picker);
   if (v != null && v instanceof ColorPanelView) {
     this.mColorPicker = (ColorPanelView) v;
     this.mColorPicker.setColor(this.mColor);
   }
 }
  @Override
  protected void onBindView(View view) {
    super.onBindView(view);

    TextView title = (TextView) view.findViewById(android.R.id.title);
    if (title != null) {
      title.setSingleLine(false);
      title.setTextSize(TypedValue.COMPLEX_UNIT_SP, 18);
    }
  }
 @Override
 protected void onBindView(@NonNull View view) {
   super.onBindView(view);
   if (isEnabled()) {
     final TextView tv = (TextView) view.findViewById(android.R.id.title);
     if (tv != null) {
       tv.setTextColor(Color.WHITE);
     }
   }
 }
  @Override
  public void onBindView(View view) {

    super.onBindView(view);

    TextView textSummary = (TextView) view.findViewById(android.R.id.summary);

    if (textSummary != null) {
      textSummary.setSingleLine();
      textSummary.setEllipsize(TextUtils.TruncateAt.MIDDLE);
    }

    Xlog.i(TAG, "summary is +" + this.getSummary());
  }
 @Override
 protected void onBindView(View view) {
   Log.d(TAG, "onBindView");
   super.onBindView(view);
   reload();
 }
Exemple #10
0
 /// M: For CT dual sim indicator design: Add sim indicator to left of
 // summary @{
 @Override
 public void onBindView(View view) {
   super.onBindView(view);
   mExt.updateDefaultSimPreferenceSimIndicator(view, mSubItems, mIndex);
 }