I have to build a dialog that looks exactly the same across different devices regardless of the OS theme. At the moment, I created an AlertDialog and I call alertDialog.setView(myLayout). This creates a dialog with my view. However, some parts of the dialog box (outer part and border line) are still OS based and they look different in my Samsung or HTC.
Is there anyway to create the actual box?
Go for this
then use two line to show it from activity(May be onclickevent etc)
Edited For Transparent Dialog
use In onCreate of dialog class
Cheers :):)