Thanks guys.

The thing is, it shouldn't look like a widget, but like an active shortcut
with a badge representing the unread count. My shortcuts to labels in Gmail
have the drawback that I always have to open them to see what's in them.

It would be great if there were a way to use common functionality to meet
the look of the particular platform, but I understand there isn't such a
functionality at the moment.

On Mon, Feb 22, 2010 at 11:01 PM, Romain Guy <[email protected]> wrote:

> Widgets should look like widgets, not like shortcuts. The main reason
> is that there is absolutely NO guarantee about what a shortcut will
> look like. Other devices (especially ones with custom system UIs like
> MOTOBLUR or HTC Sense) might have a different look and feel. Or in the
> next update of Android we might change the way shortcuts are
> presented.
>
> On Mon, Feb 22, 2010 at 1:40 PM, Mariano Kamp <[email protected]>
> wrote:
> > Hi,
> > I would like to write a widget that emulates the look of an application
> > launcher shortcut. In particular I want the white font label on a black,
> > semi-transparent background. As it should look the same as the launcher
> > shortcut I wouldn't like too much to imitate the actual look, but to
> > re-use/copy it. Any idea where I can get that?
> > I checked the launcher app and found application-boxed.xml, but it
> doesn't
> > seem to do what I want and I am probably way off anyway.
> > Any ideas?
> > Btw. I know that this is like a shortcut, but on a shortcut I cannot
> render
> > the number of unread items.
> > Cheers,
> > Mariano
> >
> > --
> > 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]<android-developers%[email protected]>
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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