2011.07.08(2)———android背景ぼやけ
1329 ワード
2011.07.08(2)———android背景ぼやけ
詳しくは、apiDemos/app/activity/translucent Blur
背景のぼかし:
前者は、統合システムに付属する透明なトピック2つ目のシステム内蔵を使用しない透明なトピックです.
詳しくは、apiDemos/app/activity/translucent Blur
背景のぼかし:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
<style name="Theme.Translucent" parent="android:style/Theme.Translucent">
<item name="android:windowBackground">@drawable/translucent_background</item>
<item name="android:windowNoTitle">true</item>
<item name="android:colorForeground">#fff</item>
</style>
<style name="Theme.Transparent">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
<item name="android:windowBackground">@drawable/transparent_background</item>
<item name="android:windowNoTitle">true</item>
<item name="android:colorForeground">#fff</item>
</style>
前者は、統合システムに付属する透明なトピック2つ目のシステム内蔵を使用しない透明なトピックです.