| | |
| | | |
| | | import android.content.DialogInterface; |
| | | import android.content.Intent; |
| | | import android.graphics.Typeface; |
| | | import android.os.Bundle; |
| | | import android.view.View; |
| | | import android.widget.TextView; |
| | |
| | | } |
| | | |
| | | private void initView() { |
| | | viewBinding.toolbarTopMessageCenterListRl.getRoot().setBackgroundColor(getColor(R.color.text_FFECECEC)); |
| | | viewBinding.toolbarTopMessageCenterListRl.topBackLl.setVisibility(View.VISIBLE); |
| | | viewBinding.toolbarTopMessageCenterListRl.topLeftIv.setImageResource(R.drawable.back_c); |
| | | viewBinding.toolbarTopMessageCenterListRl.topTitleTv.setText(R.string.set_message_center); |
| | | viewBinding.toolbarTopMessageCenterListRl.topMoreBtn.setVisibility(View.VISIBLE); |
| | | viewBinding.toolbarTopMessageCenterListRl.topMoreIv.setImageResource(R.drawable.clearall); |
| | |
| | | viewBinding.messageContentRl.setLayoutManager(mLayoutManager); |
| | | viewBinding.messageContentRl.setAdapter(messageCenterListAdapter); |
| | | messageCenterListAdapter.setList(mList); |
| | | this.nullDataUpdateUi(); |
| | | // this.nullDataUpdateUi(); |
| | | } |
| | | |
| | | private void initData() { |
| | |
| | | @Override |
| | | public void run() { |
| | | if (typeClick) { |
| | | viewBinding.messageBottomAlarmDeviceTitleTv.setTextColor(getColor(R.color.text_191919)); |
| | | viewBinding.messageBottomAlarmDeviceLineV.setVisibility(View.VISIBLE); |
| | | viewBinding.messageBottomAlarmRecordTitleTv.setTextColor(getColor(R.color.text_B2B2B2)); |
| | | viewBinding.messageBottomAlarmRecordLineV.setVisibility(View.GONE); |
| | | |
| | | |
| | | } else { |
| | | viewBinding.messageBottomAlarmDeviceTitleTv.setTextColor(getColor(R.color.text_B2B2B2)); |
| | | viewBinding.messageBottomAlarmDeviceLineV.setVisibility(View.GONE); |
| | | viewBinding.messageBottomAlarmRecordTitleTv.setTextColor(getColor(R.color.text_191919)); |
| | | viewBinding.messageBottomAlarmRecordLineV.setVisibility(View.VISIBLE); |
| | | } |
| | | |