I am setting a background image for a checkBox using the following line of code:
checkBox.setBackgroundResource(R.drawable.myImage);
However the checkBox gets automatically positioned to the middle-left of the background image. I want the checkBox to be positioned at the bottom right of the background image. How can I achieve this? Thanks!
Aucun commentaire:
Enregistrer un commentaire