创建于Android的定制警报框 [英] Creating Custom Alert box in android
问题描述
我知道这是被回答了很多次,但我无法找到任何这很好的资源。
I know this is been answered many times but i am unable to find any good resource for this.
任何一个可以告诉如何创建自定义警告框为Android ??。我要的是用几张图片文字等,这将是基本上亩应用信息一个很好看的警告框。我知道如何创建简单的警告框。请指出我的任何样品code如果可能的话
Can any one tell how to create Custom Alert box for android??. What i want is a nice looking alert box with few images text etc which will be basically mu application info. I know how to create simple alert box. Please point me to any sample code if possible
谢谢 Pranay
推荐答案
只需创建你想要的任何布局,你想要的任何活动,并适用安卓主题=@安卓风格/ Theme.Dialog
您<应用>
在你的清单标签
Just create any Activity you want with whatever layout you want, and apply android:theme="@android:style/Theme.Dialog"
to your <application>
tag in your manifest
这篇关于创建于Android的定制警报框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!