Sorry.. textView. > > setCompoundDrawablesWithIntrinsicBounds(null, null, drawable, null);
On Fri, Dec 5, 2008 at 10:00 AM, for android <[EMAIL PROTECTED]> wrote: > > http://code.google.com/android/reference/android/widget/TextView.html#setCompoundDrawablesWithIntrinsicBounds(android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable)<http://code.google.com/android/reference/android/widget/TextView.html#setCompoundDrawablesWithIntrinsicBounds%28android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable%29> > > Add the image like this. in the appropriate position...Probable u want it > at the right,so use > > > textView.setCompoundDrawablesWithIntrinsicBounds(drawable, null, null, > null); > > > > > On Fri, Dec 5, 2008 at 5:48 AM, androidian <[EMAIL PROTECTED]> wrote: > >> >> In the documentation for SimpleExpanderListAdapter (http:// >> code.google.com/android/reference/android/widget/ >> SimpleExpandableListAdapter.html<http://code.google.com/android/reference/android/widget/SimpleExpandableListAdapter.html>) >> it says that the views which >> ultimately end up defining the display of the individual group and >> child rows, must be TextViews. >> >> I think I'm reading this right but I need some clarification...does >> this mean that there's no way to put an image into these group and >> child rows? e.g. let's say I want my own icon to sit to the right of >> the text in a row...can I do that in any way? >> >> If not, could I do it by subclassing BaseExpandableListAdapter? Any >> tips? >> >> cheers, >> Ian >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---