我试过这样的东西,但我卡住了:
TypedValue typedValue = new TypedValue(); if (this.parentActivity.getTheme().resolveAttribute(android.R.attr.windowBackground, typedValue, true)) { // how to get color? }
android
android ×1