ImageButton? j
On Tue, Apr 21, 2009 at 12:56 PM, petunio <[email protected]> wrote: > > 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 > > > -- Jeff Sharkey [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

