| | |
| | | @Override |
| | | public void onBindView(Bundle savedInstanceState) { |
| | | setStatusBarTranslucent(); |
| | | getWindow().setNavigationBarColor(getColor(R.color.text_FF000000)); |
| | | //初始化 |
| | | initView(); |
| | | //初始化界面监听器 |
| | |
| | | if (newVersionBean != null) { |
| | | //todo 发现新版本,改变UI样式 |
| | | viewBinding.asRegardsRlRightContentTv.setText(R.string.app_discover_new_version); |
| | | viewBinding.asRegardsRlRightContentTv.setTextColor(getResources().getColor(R.color.text_245EC3, null)); |
| | | viewBinding.asRegardsRlRightContentTv.setTextColor(getResources().getColor(R.color.text_E6FFFFFF, null)); |
| | | } |
| | | } |
| | | |
| | |
| | | //测试环境 |
| | | content = "https://developer.hdlcontrol.com/AppDownload/HDLDebugerDownload.html"; |
| | | } |
| | | Bitmap bitmap = HdlCommonLogic.getInstance().createQRCodeBitmap(content, 168, 168, "UTF-8", "H", "0", Color.BLACK, Color.WHITE); |
| | | Bitmap bitmap = HdlCommonLogic.getInstance().createQRCodeBitmap(content, 168, 168, "UTF-8", "H", "0", getColor(R.color.text_00000000), Color.WHITE); |
| | | viewBinding.asRegardsQrCodeIv.setImageBitmap(bitmap); |
| | | |
| | | } |