Created
August 14, 2017 10:28
-
-
Save Logan676/6e4314dec9022236dc24587c3d650127 to your computer and use it in GitHub Desktop.
把系统自带的背景去掉
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getWindow().setBackgroundDrawable(new ColorDrawable(0)); | |
try { | |
getWindow().getDecorView().setBackgroundDrawable(null); | |
} catch (Throwable e){ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment