I have ImageButton which create inside the code,
// Create Button
ImageButton imageButton = new ImageButton(mContext);
imageButton.setBackgroundResource(R.drawable.button);
imageButton.setOnClickListener(this);
LayoutParams myParams = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
addContentView(imageButton, myParams);
How can i draw it in the bottom of the layout ?
Try: