| | |
| | | |
| | | @Override |
| | | public void onBindView(Bundle savedInstanceState) { |
| | | setNotificationBarBackgroundColor(CustomColor.white); |
| | | setStatusBarTextColor(); |
| | | setStatusBarTranslucent(); |
| | | readData(); |
| | | //初始化 |
| | | initView(); |
| | |
| | | |
| | | private void initView() { |
| | | viewBinding.toolbarTopRl.topTitleTv.setText(R.string.set_temperature_unit); |
| | | viewBinding.toolbarTopRl.topTitleTv.setTextColor(getResources().getColor(R.color.text_030D1C, null)); |
| | | viewBinding.toolbarTopRl.topBackLl.setVisibility(View.VISIBLE); |
| | | viewBinding.toolbarTopRl.topLeftIv.setImageResource(R.drawable.back_c); |
| | | viewBinding.toolbarTopRl.topBarView.setBackgroundColor(getResources().getColor(R.color.text_FFECECEC, null)); |
| | | LinearLayoutManager linearLayout = new LinearLayoutManager(_mActivity); |
| | | languageAdapter = new LanguageAdapter(this.mList, _mActivity); |
| | | viewBinding.languageRc.setLayoutManager(linearLayout); |