| | |
| | | |
| | | @Override |
| | | public void onBindView(Bundle savedInstanceState) { |
| | | setNotificationBarBackgroundColor(CustomColor.white); |
| | | setStatusBarTextColor(); |
| | | setStatusBarTranslucent(); |
| | | try { |
| | | String json = getIntent().getStringExtra("messageBean"); |
| | | mMessageBean = new Gson().fromJson(json, MessageBean.class); |
| | |
| | | |
| | | private void initEvent() { |
| | | //后退的事件 |
| | | viewBinding.toolbarTopIn.topBackLl.setOnClickListener(new View.OnClickListener() { |
| | | viewBinding.toolbarTopRl.topBackLl.setOnClickListener(new View.OnClickListener() { |
| | | @Override |
| | | public void onClick(View v) { |
| | | if (mMessageBean == null) { |
| | |
| | | |
| | | private void initView() { |
| | | |
| | | viewBinding.toolbarTopIn.topTitleTv.setText(R.string.message_alarm_info); |
| | | viewBinding.toolbarTopIn.topBackLl.setVisibility(View.VISIBLE); |
| | | viewBinding.toolbarTopRl.topTitleTv.setText(R.string.message_alarm_info); |
| | | viewBinding.toolbarTopRl.topBackLl.setVisibility(View.VISIBLE); |
| | | |
| | | if (!UserConfigManage.getInstance().isBAccount()) { |
| | | viewBinding.messageInfoBackTv.setTextColor(getColor(R.color.text_38C494)); |