you can use a default button. Just use Drawable bottom | top | right | left
for image.


--
Best Regards,
Atif Gulzar

I ◘◘◘◘ Unicode, ɹɐzlnƃ ɟıʇɐ



On Wed, Aug 12, 2009 at 5:53 PM, gosh <[email protected]> wrote:

>
> Hi there,
>
> A 'Button' view comes up with text, while the 'ImageButton' widget
> comes up with an image but no text, is there a way to relatively
> easily (e.g. method calls, say), either:
>
> 1. Add text to ImageButton (like those buttons that appear in menu
> item/via the physical menu button)?
>
> or
>
> 2. Add an icon/image to a Button?
>
> without resorting to constructing a new button class?
>
> I.e. I could put text within the image, but then I can't use
> Localization properly/effectively.
>
> Any suggests, much appreciated here.
> Steve
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to