@Override protected void onBindView(View view) { super.onBindView(view); TextView textView = (TextView) view.findViewById(android.R.id.title); if (textView != null) { textView.setSingleLine(false); } }
@Override protected void onBindView(View view) { super.onBindView(view); ATE.apply(view, mKey); } }
@Override protected void onBindView(View view) { super.onBindView(view); ImageView img_root = view.findViewById(R.id.img_root); if (plugin instanceof OperationPlugin) { PrivilegeUsage privilege = ((OperationPlugin) plugin).privilege(); if (privilege == PrivilegeUsage.root_only || privilege == PrivilegeUsage.prefer_root) { img_root.setVisibility(View.VISIBLE); } else { img_root.setVisibility(View.GONE); } } } }
@Override protected void onBindView(View view) { super.onBindView(view); CheckBox checkbox = (CheckBox) view.findViewById(android.R.id.checkbox); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { checkbox.setBackground(null); } ATE.themeView(view, mKey); } }
@Override protected void onBindView(@NonNull View view) { super.onBindView(view); boolean viewEnabled = isEnabled() && mAppearsEnabled; enableView(view, viewEnabled); }
@Override protected void onBindView(View view) { super.onBindView(view); ((TextView) view.findViewById(android.R.id.title)).setSingleLine(false); if (mManagedPrefDelegate != null) mManagedPrefDelegate.onBindViewToPreference(this, view); }
@Override protected void onBindView(View view) { super.onBindView(view); mCheckable = (Checkable) view.findViewById(android.R.id.checkbox); mCheckable.setChecked(isChecked()); }
@Override protected void onBindView(View view) { super.onBindView(view); TextView titleView = (TextView) view.findViewById(android.R.id.title); TextView summary = (TextView) view.findViewById(android.R.id.summary); if (titleView != null && getContext() != null) { FontUtils.setPreferenceTypeface(getContext(), fontStyle, titleView, summary); } }