I asume there must be a build in way to achieve this?
I could really need some help on this.
Cheers,
Klaus

On Tue, Aug 25, 2009 at 1:19 AM, Klaus Kartou <kar...@gmail.com> wrote:

> Hi!
> I am trying to make an icon with a label, just like the ones used on the
> home screen.
> Currently I use a TextView with a top drawable as specified in the code
> below:
>
>
> < TextView  android:id="@+id/share"
>           android:layout_width="wrap_content"
>           android:layout_height="wrap_content"
>           android:drawableTop="@android:drawable/ic_menu_share"
>           android:drawablePadding="10sp"
>           android:background="@drawable/round_background">
> </TextView  >
>
> The problem is that I would like the background to only be around the text
> and not around the drawable too.
> How can I achieve that?
>
> Best regards,
> Klaus
>

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

Reply via email to