Intent intent1 = getIntent(); overridePendingTransition(0, 0); intent1.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); finish(); overridePendingTransition(0, 0); startActivity(intent1);
上面是finish 本activity 并启动这个activity
然后setTheme 就可以了,,
android 主题变换(不是亮度改变),布布扣,bubuko.com
原文地址:http://blog.csdn.net/sunqimin/article/details/38584061