AlertDialog 自定义背景
来源:互联网 发布:mac 查找路径 编辑:程序博客网 时间:2024/05/18 01:25
A 内容为ListView时,更改如下item改变相应的颜色
topDark 更改title背景颜色
<item name="android:topDark">@drawable/popup_top_dark</item>
存在title 和 button 时 centerBright 为content背景图片
<item name="android:centerBright">@drawable/popup_center_bright</item>
存在title 不存在 button 时 bottomBright 为content背景图片 -->
<item name="android:bottomBright">@drawable/green</item>
bottomMedium 更改bottom背景颜色
<item name="android:bottomMedium">@drawable/popup_bottom_medium</item>
B 内容为文字时,更改如下项目改变相应颜色
topDark 更改title背景颜色
<item name="android:topDark">@drawable/alert_red</item>
centerDark 更改content背景颜色
<item name="android:centerDark">@drawable/alert_gray</item>
bottomMedium 更改bottom背景颜色
<item name="android:bottomMedium">@drawable/alert_white</item>
<item name="fullDark">@android:drawable/popup_full_dark</item>
<item name="topDark">@android:drawable/popup_top_dark</item>
<item name="centerDark">@android:drawable/popup_center_dark</item>
<item name="bottomDark">@android:drawable/popup_bottom_dark</item>
<item name="fullBright">@android:drawable/popup_full_bright</item>
<item name="topBright">@android:drawable/popup_top_bright</item>
<item name="centerBright">@android:drawable/popup_center_bright</item>
<item name="bottomBright">@android:drawable/popup_bottom_bright</item>
<item name="bottomMedium">@android:drawable/popup_bottom_medium</item>
<item name="centerMedium">@android:drawable/popup_center_medium</item>
topDark 更改title背景颜色
<item name="android:topDark">@drawable/popup_top_dark</item>
存在title 和 button 时 centerBright 为content背景图片
<item name="android:centerBright">@drawable/popup_center_bright</item>
存在title 不存在 button 时 bottomBright 为content背景图片 -->
<item name="android:bottomBright">@drawable/green</item>
bottomMedium 更改bottom背景颜色
<item name="android:bottomMedium">@drawable/popup_bottom_medium</item>
B 内容为文字时,更改如下项目改变相应颜色
topDark 更改title背景颜色
<item name="android:topDark">@drawable/alert_red</item>
centerDark 更改content背景颜色
<item name="android:centerDark">@drawable/alert_gray</item>
bottomMedium 更改bottom背景颜色
<item name="android:bottomMedium">@drawable/alert_white</item>
<item name="fullDark">@android:drawable/popup_full_dark</item>
<item name="topDark">@android:drawable/popup_top_dark</item>
<item name="centerDark">@android:drawable/popup_center_dark</item>
<item name="bottomDark">@android:drawable/popup_bottom_dark</item>
<item name="fullBright">@android:drawable/popup_full_bright</item>
<item name="topBright">@android:drawable/popup_top_bright</item>
<item name="centerBright">@android:drawable/popup_center_bright</item>
<item name="bottomBright">@android:drawable/popup_bottom_bright</item>
<item name="bottomMedium">@android:drawable/popup_bottom_medium</item>
<item name="centerMedium">@android:drawable/popup_center_medium</item>
- AlertDialog 自定义背景分析
- AlertDialog 自定义背景
- alertDialog的背景自定义
- 自定义AlertDialog去除黑色背景
- AlertDialog自定义界面圆角有背景问题
- android自定义AlertDialog背景、背景边框消除、自定义背景按钮监听事件
- 自定义AlertDialog的实现以及添加属性设置背景
- AlertDialog 攻略 自定义宽度,改变灰色背景透明度
- 自定义 alertDialog
- 自定义AlertDialog
- AlertDialog自定义
- 自定义AlertDialog
- 自定义 AlertDialog
- 自定义AlertDialog
- 自定义Alertdialog
- 自定义AlertDialog
- 自定义AlertDialog
- 自定义AlertDialog
- DIM3517启动LINUX
- 梦想家和野心家
- 看田洪川ASP.NET有感
- Windows 2000 SP4 内核调试初窥
- RVDS4.0安装
- AlertDialog 自定义背景
- google和微软的开源项目托管服务的初体验
- HyperTable介绍
- CLisp 4:读写文件
- 降级论
- ARM入门者的天堂(一点经验)
- mask制作
- CodeForce 118C Fancy Number
- 递归和迭代的区别