更改android中的progressdialog和alertdialog背景? [英] change progressdialog and alertdialog background in android?

查看:208
本文介绍了更改android中的progressdialog和alertdialog背景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中有一个alertdialog和进度对话框.我希望我的进度对话框和警报对话框看起来与iPhone中的对话框相同.我该如何改变他们两个人的背景来实现这一目标?

i have a alertdialog and progress dialog in my application. i want my progress dialog and the the alert dialog to look the same as the ones in iphone. how can i change the background of both of them to achieve this?

我还可以使用自定义视图来实现这种效果吗?扩展了进度对话框类的东西.....? 谢谢您的帮助.

Also can i achieve this effect using a custom view? Something that extends the progress dialog class.....? thank you for your help.

推荐答案

检查此答案:​​更改进度对话框背景

这篇关于更改android中的progressdialog和alertdialog背景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆