Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/214.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android中的Custon对话框--无边框和透明背景_Android_Dialog - Fatal编程技术网

android中的Custon对话框--无边框和透明背景

android中的Custon对话框--无边框和透明背景,android,dialog,Android,Dialog,我要执行以下对话框-无边框和透明背景: 我想为edittext和图像设置阴影(如web中的flash弹出窗口) Yoav您必须为edittext和imageview制作带有阴影的图像,并将该图像用作背景 请看这张图片 但如何。。。。。如何为图像和编辑文本生成阴影?我知道如何做BG透明和无边框。为此,我使用了android.R.style.Theme\u transparent\u notitlebrand,那么imageview呢?如何添加阴影?您也可以使用imageview的背景

我要执行以下对话框-无边框和透明背景: 我想为edittext和图像设置阴影(如web中的flash弹出窗口)


Yoav

您必须为edittext和imageview制作带有阴影的图像,并将该图像用作背景

请看这张图片


但如何。。。。。如何为图像和编辑文本生成阴影?我知道如何做BG透明和无边框。为此,我使用了android.R.style.Theme\u transparent\u notitlebrand,那么imageview呢?如何添加阴影?您也可以使用imageview的背景
                    ------------------------
                    |                      |
                    |                      |shade
                    |  Edit text           |
                    |                      |
                    ------------------------
                  -------              shade
                  |Image| shade
                  -------
                    shade