android dialog transparant
Posted
by
Doomic
on Stack Overflow
See other posts from Stack Overflow
or by Doomic
Published on 2011-11-14T09:47:17Z
Indexed on
2011/11/14
9:50 UTC
Read the original article
Hit count: 228
It is a simple stupid question, but i cant find any info on the web. I have an android app with a custom dialog. The dialog has the default grey 1px border. But it also has a black border around that grey line.
I want to remove the black part.
the dialog is made in xml and i call: dialog.setContentView(R.layout.xxxxx);
as soon as i do that the black border is there. However the xml has not a background color set. also a transparant color in the xml doesn't helps.
if i do not call setcontentview. then a small dialog appears but without a strange border.
© Stack Overflow or respective owner