设置activity为透明并且全屏显示
2014-01-28 18:01
399 查看
http://stackoverflow.com/questions/10481277/translucent-activity-filling-the-entire-screen
<style name="Theme.CustomTranslucent"
parent="android:style/Theme.Translucent">
<item name="android:backgroundDimEnabled">true</item>
<item name="android:backgroundDimAmount">0.5</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
<item name="android:windowNoTitle">true</item>
<item name="android:background">@android:color/transparent</item>
</style>
<style name="Theme.CustomTranslucent"
parent="android:style/Theme.Translucent">
<item name="android:backgroundDimEnabled">true</item>
<item name="android:backgroundDimAmount">0.5</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
<item name="android:windowNoTitle">true</item>
<item name="android:background">@android:color/transparent</item>
</style>
相关文章推荐
- 如何设置Activity全屏显示和没有Title
- VC设置窗口全屏并且最前面显示(居中、最小化恢复)
- activity设置为全屏显示
- 设置窗体透明 隐藏任务栏 与全屏显示 .
- 设置Activity全屏显示
- android初学------设置Activity为dialog样式 全屏显示
- 设置Activity固定横屏并且全屏的效果
- 对activity设置全屏无标题高亮显示
- Android设置图片为手机壁纸,并且全屏显示。
- [Android]设置Activity为全屏显示的两种方法
- android中activity设置全屏显示无效问题解决。
- 设置窗体透明 隐藏任务栏 与全屏显示
- activity设置为透明可以显示下方activity
- activity属性设置为Theme.Dialog无法控制全屏显示????不确定
- 自定义Dialog设置全屏显示和背景透明
- navigation bar透明设置和view的背景图片设置-tableview全屏覆盖无法正常显示背景图片
- 【Android】Android 设置Activity窗体 不显示标题和全屏显示
- android在实际的应用程序开发中,我们有时需要把 Activity 设置成全屏显示
- Activity设置全屏显示的两种方式及系统自带theme属性解析
- Activity代码设置全屏显示