wjc
2026-01-15 11409771024381e06173490d846bf121e6a19552
app/src/main/java/com/hdl/photovoltaic/ui/me/BPersonalDataActivity.java
@@ -61,7 +61,6 @@
            }
        });
    }
    private void initView() {
@@ -91,11 +90,23 @@
        viewBinding.personalDataUserPortraitIl.sllLlRlRightContentIv.setImageDrawable(AppCompatResources.getDrawable(_mActivity, R.drawable.default_image));
        viewBinding.personalDataUserNameIl.sllLlRlRightContentTv.setText(UserConfigManage.getInstance().getUserName());
        viewBinding.personalDataUserNameIl.sllLlRlRightContentTv.setTextColor(getColor(R.color.text_FFACACAC));
        String bingEmail = TextUtils.isEmpty(UserConfigManage.getInstance().getBingEmail()) ? _mActivity.getString(R.string.set_not_bind) : UserConfigManage.getInstance().getBingEmail();
        viewBinding.personalDataMailIl.sllLlRlRightContentTv.setText(bingEmail);
        viewBinding.personalDataMailIl.sllLlRlRightContentTv.setTextColor(getColor(R.color.text_FFACACAC));
        String bingPhone = TextUtils.isEmpty(UserConfigManage.getInstance().getBingPhone()) ? _mActivity.getString(R.string.set_not_bind) : UserConfigManage.getInstance().getBingPhone();
        viewBinding.personalDataPhoneIl.sllLlRlRightContentTv.setText(bingPhone);
        viewBinding.personalDataPhoneIl.sllLlRlRightContentTv.setTextColor(getColor(R.color.text_FFACACAC));
        viewBinding.personalDataQrCodeIl.sllLlRlRightContentIv.setImageDrawable(AppCompatResources.getDrawable(_mActivity, R.drawable.qr_code));
        if (UserConfigManage.getInstance().isArabicLanguage()) {
            viewBinding.toolbarTopRl.topLeftIv.setRotation(180); // 旋转180度
            viewBinding.personalDataUserPortraitIl.sllLlRlRightNextIv.setRotation(180); // 旋转180度
            viewBinding.personalDataUserNameIl.sllLlRlRightNextIv.setRotation(180); // 旋转180度
            viewBinding.personalDataMailIl.sllLlRlRightNextIv.setRotation(180); // 旋转180度
            viewBinding.personalDataPhoneIl.sllLlRlRightNextIv.setRotation(180); // 旋转180度
            viewBinding.personalDataQrCodeIl.sllLlRlRightNextIv.setRotation(180); // 旋转180度
        }
    }