| | |
| | | String affirmPsw = viewBinding.meChangePasswordAffirmIc.mePswEt.getText().toString(); |
| | | boolean isEnabled = oldPsw.length() > 0 && newPsw.length() > 0 && affirmPsw.length() > 0; |
| | | if (isEnabled) { |
| | | viewBinding.homeAffirmTv.setTextColor(getColor(R.color.text_E6FFFFFF)); |
| | | viewBinding.homeAffirmTv.setTextColor(getColor(R.color.text_FFACACAC)); |
| | | } else { |
| | | viewBinding.homeAffirmTv.setTextColor(getColor(R.color.text_66FFFFFF)); |
| | | viewBinding.homeAffirmTv.setTextColor(getColor(R.color.text_FF5B5B5B)); |
| | | } |
| | | viewBinding.homeAffirmTv.setEnabled(isEnabled); |
| | | } |