public override void onPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent @event) { base.onPopulateAccessibilityEvent(@event); if (isChecked()) { java.lang.CharSequence text = mOnLayout.getText(); if (android.text.TextUtils.isEmpty(text)) { text = java.lang.CharSequenceProxy.Wrap(mContext.getString([email protected].@string .switch_on)); } @event.getText().add(text); } else { java.lang.CharSequence text = mOffLayout.getText(); if (android.text.TextUtils.isEmpty(text)) { text = java.lang.CharSequenceProxy.Wrap(mContext.getString([email protected].@string .switch_off)); } @event.getText().add(text); } }