I am currently doing an android application that contains customize alert dialog. It contains a button , but i can\'t set the margin for the button . the code is given belo
buttonLayoutParams.bottomMargin buttonLayoutParams.topMargin buttonLayoutParams.leftMargin buttonLayoutParams.rightMargin
can be used to set margins