title: How to set Margin Left ,Margin top,Margin right and Margin Bottom alignment for popup window dynamically in android
body: <p>I  am currently doing an android application that contains a popup window named as mypopup. It contains a Image button and four textviews. i want to align the popup window dynamically with margin top,margin bottom,margin left and margin right parameters..In my code setmargin method is not working..please anybody help me to do this...</p>