Hi Does anybody knows how can I put a Bitmap on top of a button, but without taking the whole surface?
at the moment, what I am doing is: BitmapDrawable bd=new BitmapDrawable(myBitmap); Button myButton.setBackgroundDrawable(bd); and the picture occupies the whole button... is there any way to set up some margins? Thanks a lot --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---