Hi, On May 18, 11:10 pm, TreKing <[email protected]> wrote: > On Tue, May 18, 2010 at 12:53 PM, Divkis <[email protected]> wrote: > > Any other ideas? > > Nope, sorry. I haven't used it myself, but I assumed the setDrawable > functions in that class would be what you were looking for.
Nopes there is no such function in either CompoundButton or RadioButton class. I tried setting the button drawable with: RadioButton photoButton = (RadioButton)activity.findViewById(R.id.photobutton); photoButton.setButtonDrawable(R.id.photobutton); but the background image set in xml is now completely gone and the button is enlarged out of proportion and interfering with the layouts. It isn't quite clear from documentation what is the difference between setButtonDrawable and setBackgroundDrawable. I would really appreciate if someone could point me in the right direction, Thanks in advance, DivKis -- 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

