android dialog 背景透明的样式
来源:互联网 发布:ipad看电脑版淘宝店铺 编辑:程序博客网 时间:2024/05/22 14:23
1. 在res/values 下面加上style.xml 里面的内容:
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="MyDialog">
<item name="android:windowFrame">@null</item>
<item name="android:windowTitleStyle">@null</item>
<item name="android:windowBackground">@color/transparent</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
</style>
</resources>
2。然后在 自定义dialog的构造方法里面 用上super(context,R.style."MyDialog);即可
- android dialog 背景透明的样式
- Dialog 设置背景完全透明的样式
- Android背景透明的 Dialog
- Android背景透明的 Dialog
- Android背景透明的 Dialog
- Android背景透明的 Dialog
- Android背景透明的 Dialog
- Android 透明背景的dialog
- Android Dialog 系统样式讲解及透明背景
- Android Dialog 系统样式讲解及透明背景
- Android Dialog 系统样式讲解及透明背景
- Android Dialog 系统样式讲解及透明背景
- Android Dialog 系统样式讲解及透明背景
- Android中背景透明的Dialog
- android 对话框Dialog背景透明
- android--对话框Dialog背景透明
- Android Dialog 设置背景透明
- android设置背景透明dialog
- Quaternion(四元数)和旋转以及Yaw, pitch, roll 的含义
- 排序算法稳定性
- Cookie文件说明及IE的Cookie文件格式
- myeclipse9中建flex项目
- SQL找出表中某个字段无重复值的三个字段
- android dialog 背景透明的样式
- 解释器模式 Interpreter Pattern
- N皇后问题
- 用C#写的俄罗斯方块代码参考
- `nonmutating' is not defined (Ice)
- mini2440之/proc 目录中的文件创建及测试
- 交换函数的两种不同的实现方式------地址传递和引用参数
- 能打印出详细信息的log4j的配置
- 全国高校综合排名