@Override
  public void onRtlPropertiesChanged(int layoutDirection) {
    super.onRtlPropertiesChanged(layoutDirection);

    if (mEthernet != null) {
      mEthernet.setImageDrawable(null);
    }

    if (mWifi != null) {
      mWifi.setImageDrawable(null);
    }

    for (PhoneState state : mPhoneStates) {
      if (state.mMobile != null) {
        state.mMobile.setImageDrawable(null);
      }
      if (state.mMobileType != null) {
        state.mMobileType.setImageDrawable(null);
      }
    }

    if (mAirplane != null) {
      mAirplane.setImageDrawable(null);
    }

    apply();
  }
コード例 #2
0
  @Override
  public void onRtlPropertiesChanged(int layoutDirection) {
    super.onRtlPropertiesChanged(layoutDirection);

    if (mWifi != null) {
      mWifi.setImageDrawable(null);
    }

    if (mWifiActivity != null) {
      mWifiActivity.setImageDrawable(null);
    }

    if (mMobile != null) {
      mMobile.setImageDrawable(null);
    }

    if (mMobileActivity != null) {
      mMobileActivity.setImageDrawable(null);
    }

    if (mMobileType != null) {
      mMobileType.setImageDrawable(null);
    }

    if (mAirplane != null) {
      mAirplane.setImageDrawable(null);
    }

    apply();
  }