Android - Activity 透明度

摘要:Android - Activity 透明度

	<color name="custom_theme_color">#B3000000</color>
	<style name="Theme.Transparent" parent="@style/Theme.AppCompat.Light">
		<item name="android:windowIsTranslucent">true</item>
		<item name="android:windowBackground">@color/custom_theme_color</item>
		<item name="android:windowContentOverlay">@null</item>
		<item name="android:windowNoTitle">true</item>
		<item name="android:windowIsFloating">true</item>
		<item name="android:backgroundDimEnabled">false</item>
	</style>

參考

http://blog.yam.com/indiana/article/38996468