统一颜色取值

This commit is contained in:
juntao
2021-12-10 11:55:45 +08:00
parent 82ebdd3908
commit a272033834
493 changed files with 1333 additions and 1374 deletions

View File

@ -229,7 +229,7 @@ public abstract class BaseActivity extends BaseAppCompatActivity implements Easy
tv.setBackground(ContextCompat.getDrawable(this, R.color.theme));
if (BuildConfig.FLAVOR.equals("internal")) {
envText = "测试环境";
tv.setBackground(ContextCompat.getDrawable(this, R.color.red));
tv.setBackground(ContextCompat.getDrawable(this, R.color.theme_red));
}
tv.setText(envText);
tv.setGravity(Gravity.CENTER);